Timings from a data sheet and a latency report

Hardware data sheets quote delays in nanoseconds, while application and network measurements are more often written in microseconds. A memory chip may list an access time of 45 ns, a packet capture may show a gap of 2,500 ns, and a monitoring dashboard may plot values in µs. To put these on the same axis you divide by one thousand. This page does that and returns the µs figure at full precision. It is aimed at hardware designers, network engineers, firmware developers and students in a digital electronics course, who all work across the three decades between a nanosecond and a microsecond and who often make a slip of one decimal place when they do it in their heads.

2,500 ns as 2.5 µs and the letter u for micro

A microsecond is 10^-6 s and a nanosecond is 10^-9 s, so one microsecond holds 1,000 nanoseconds. The formula is µs = ns × 0.001, and the factor is exact because both prefixes are defined as powers of ten in the SI Brochure and NIST SP 811. By hand, move the decimal point three places to the left. 2,500 ns becomes 2.5 µs and 750 ns becomes 0.75 µs. The symbol for micro is the Greek mu, written µ, and in plain text some systems use the letter u as a stand-in, so a column labeled us means microseconds. A page that converts the other direction multiplies by 1,000, and the values are therefore easy to verify with a pencil.

Ten nanoseconds and a clock period

The page starts with 10 ns and returns 0.01 µs. A more concrete case is a clock period. A microcontroller running at 16 MHz has a period of 62.5 ns, which the page converts to 0.0625 µs. A 100 MHz clock has a 10 ns period, the default input. A memory access of 120 ns is 0.12 µs, and a switch latency of 45,000 ns is 45 µs. Seeing the same values in both units helps when a datasheet quotes a setup time in ns while a scope shows the trace in µs per division, because you can match the printed numbers without redoing the arithmetic.

Audio sample intervals

Digital audio is a good example of microsecond-scale timing. At a sample rate of 48,000 Hz, one sample lasts 1 ÷ 48,000 s, which is about 20,833.33 ns, or 20.8333 µs. At 44,100 Hz the interval is about 22,675.7 ns, which is 22.6757 µs. Jitter in a converter clock is often specified in picoseconds or nanoseconds, and comparing it with the 20.8 µs sample period shows how small it is: a 2 ns error is about one ten-thousandth of the interval. The page does not model jitter or sampling theory. It converts the numbers so that you can lay a ns specification beside a sample period in µs.

Cache, memory and network delays in context

Rough orders of magnitude help when you read a table. A first-level cache hit is on the order of a nanosecond, main memory access is on the order of tens to a hundred nanoseconds, and a round trip inside one data center rack is on the order of tens of microseconds. These figures vary widely between hardware generations, so treat them as illustrative and check the specification for your device. Converting 80 ns to 0.08 µs, and 50,000 ns to 50 µs, shows why programs that wait on memory still run quickly, while a program that waits on a network call for 50 µs has idled for hundreds of memory accesses. The page supplies the unit change, and the interpretation depends on your system.

Keeping µs and ms apart

The most frequent slip in this range is confusing microseconds with milliseconds, which differ by a factor of 1,000. A value read as 2.5 µs and mistaken for 2.5 ms is off by a thousand. The same applies to ns and µs: 750 ns is 0.75 µs, not 750 µs. Labels carried through the whole workflow prevent most errors. When you copy a number from the page, copy the symbol too, and in a spreadsheet put the unit in the column header. Graph axes should say µs in the title. If a result looks implausible for the hardware, convert it to the neighboring unit and see whether the story still holds together.

Going from microseconds to nanoseconds

The page works in both directions. Select microseconds as the source and nanoseconds as the target, and each µs becomes 1,000 ns. A pulse width of 0.5 µs is 500 ns, and a servo pulse of 1,500 µs is 1,500,000 ns. Pulse timing in hobby electronics is often specified in microseconds, while a logic analyzer export may be in nanoseconds, so the reverse direction is as useful as the forward one. Remember that a rounded answer is a shortened version of the stored value. Entering the µs figure from this page back into the page returns the nanosecond count only if the number of digits was enough to hold the original value.

Measurement limits behind small numbers

A reading of 10 ns carries the limits of the instrument that produced it. Oscilloscopes list a rise time and a sampling interval, and a software timer has overhead that can exceed the interval being measured. The converter changes only the unit, so the digits it returns after a division by 1,000 are as reliable as the digits you typed. Report the answer with the resolution of your equipment, and note the sampling rate or timer source next to it. If you use these numbers in a timing budget, add the tolerance from the component data sheets, and follow the design rules of the standard or interface you are working with.

Echo times in a distance sensor

Low-cost ultrasonic distance sensors report the length of an echo pulse, and sound in room-temperature air travels at about 343 m/s. For a target 1 cm away the round trip is 2 cm, which takes about 58.3 µs, or 58,300 ns. That is why hobby code divides the pulse width in microseconds by about 58 to get centimeters. A logic analyzer capture that stamps the pulse in nanoseconds gives you the same figure after the division by 1,000 that this page performs. The speed of sound shifts with temperature, so a fixed 58 is an approximation, and the page does not apply any correction for it. Use it for the unit change and check calibration against a tape measure.