A nanosecond (ns) is an SI unit of time equal to one billionth of a second, that is, 1⁄1 000 000 000 of a second, or 10−9 seconds. It is bigger than you'd think.
Admiral Grace Hopper Explains the Nanosecond
Admiral Grace Hopper was one of the first programmers of the Harvard Mark I computer. She developed the first compiler for a computer programming language. Here she explains a nanosecond to a room of learners.
"They started talking about circuits that acted in nanoseconds. Billionths of a second. Well, I didn't know what a billion was (I don't think most of those men downtown knew what a billion is either). And uh .. if you don't know what a billion is, how on Earth do you know what a billionth is? I fussed and fumed. Finally one morning, in total desperation, I called over to the engineering building and I said: "Please cut off a nanosecond and send it over to me." And I brought you some today. Now, what I wanted when I asked for a nanosecond was: I wanted a piece of wire which would represent the maximum distance that electricity could travel in a billionth of a second. Now, of course, it wouldn't really be through wire. It'd be out in space; the velocity of light. So, if you start with the velocity of light and use your friendly computer, you'll discover that a nanosecond is 11.8 inches long (the maximum limiting distance that electricity can travel in a billionth of a second). Finally, at the end of about a week, I called back and said: "I need something to compare this to. Could I please have a microsecond?" I've only got one microsecond (so I can't give you each one). Here's a microsecond: 984 feet. I sometimes think we ought to hang one over every programmer's desk (or around their neck) so they know what they're throwing away when they throw away microseconds. Now I hope you all get the nanoseconds. They're absolutely marvelous for explaining to wives and husbands and children and Admirals and Generals and people like that. An Admiral wanted to know why it took so damn long to send a message via satellite. And I had to point out that between here and the satellite there were a very large number of nanoseconds. You see -- you can explain these things. It's really very helpful, so be sure to get your nanoseconds."