Conversion

Kilometers to nanometers (km to nm) converter

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Source

Please enter a valid URL. Only HTTPS URLs are supported.

Styling

Input border focus color, switchbox checked color, select item hover color etc.

Advanced

Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a kilometers to nanometers converter?

A kilometers to nanometers converter is an online tool that translates a length measured in kilometers (km) into its equivalent in nanometers (nm), and the other way around. Both units belong to the metric system, but they sit at opposite ends of the scale: the kilometer is a large unit used for distances such as roads and elevations, while the nanometer is one of the smallest practical units, used to describe wavelengths of light, the size of viruses, and features on a microchip.

Because the two units are separated by twelve orders of magnitude, converting between them by hand is error-prone. This converter handles the long string of zeros for you, so you can move from the everyday scale of a kilometer to the molecular scale of a nanometer with a single entry.

How it works

The kilometer and the nanometer are both defined relative to the meter, the base unit of length in the International System of Units (SI):

  • 1 kilometer = 1,000 meters (10³ m)
  • 1 nanometer = 0.000000001 meter (10⁻⁹ m)

To convert kilometers to nanometers, you first express both units in meters and then divide. One kilometer is 10³ meters, and each meter contains 10⁹ nanometers, so one kilometer equals 10³ × 10⁹ = 10¹² nanometers. In other words, a single kilometer is one trillion nanometers.

The reverse direction simply undoes that scaling: divide the number of nanometers by 10¹² (one trillion) to recover the length in kilometers.

Formula

To convert kilometers to nanometers, multiply by one trillion:

nm=km×1012\text{nm} = \text{km} \times 10^{12}

To convert nanometers to kilometers, divide by one trillion:

km=nm÷1012\text{km} = \text{nm} \div 10^{12}

Kilometers to nanometers conversion table

The table below lists common kilometer values together with their nanometer equivalents. Because the numbers grow quickly, they are shown in both full and scientific notation.

Kilometers (km)Nanometers (nm)Scientific notation
0.0011,000,000,0001 × 10⁹
0.0110,000,000,0001 × 10¹⁰
0.1100,000,000,0001 × 10¹¹
11,000,000,000,0001 × 10¹²
22,000,000,000,0002 × 10¹²
55,000,000,000,0005 × 10¹²
1010,000,000,000,0001 × 10¹³
100100,000,000,000,0001 × 10¹⁴

Examples

Example 1: 1 kilometer to nanometers

Multiply the number of kilometers by 10¹²:

1 km×1012=1,000,000,000,000 nm1 \text{ km} \times 10^{12} = 1{,}000{,}000{,}000{,}000 \text{ nm}

So 1 kilometer equals one trillion (1 × 10¹²) nanometers.

Example 2: 2 kilometers to nanometers

2 km×1012=2,000,000,000,000 nm2 \text{ km} \times 10^{12} = 2{,}000{,}000{,}000{,}000 \text{ nm}

Two kilometers come out to two trillion (2 × 10¹²) nanometers.

Example 3: 1 trillion nanometers to kilometers

Working backwards, divide the nanometers by 10¹²:

1,000,000,000,000 nm÷1012=1 km1{,}000{,}000{,}000{,}000 \text{ nm} \div 10^{12} = 1 \text{ km}

One trillion nanometers is exactly 1 kilometer, confirming that the two conversions are inverses of each other.

Notes

  • The conversion is exact: both units are defined from the meter, so 1 km is precisely 10¹² nm with no rounding involved.
  • Results in nanometers become very large very quickly. Scientific notation (for example, 1 × 10¹²) is often the clearest way to write them.
  • The nanometer is the unit of choice in fields such as optics, semiconductor manufacturing, and biology, while the kilometer dominates geography and transport, which is why a converter is so handy when one discipline borrows data from another.
  • This tool also accepts inches, feet, and yards, so you can mix metric and imperial units in either field if needed.

Frequently asked questions

How many nanometers are in a kilometer?

There are exactly 1,000,000,000,000 nanometers in one kilometer, which is one trillion (1 × 10¹²) nanometers.

How do I convert nanometers back to kilometers?

Divide the number of nanometers by 10¹² (one trillion). For example, 5 × 10¹² nm ÷ 10¹² = 5 km.

Why is the number so large?

A kilometer and a nanometer differ by twelve powers of ten. The kilometer is a macroscopic distance unit and the nanometer measures objects near the atomic scale, so a single kilometer contains an enormous number of nanometers.

Is the kilometer to nanometer conversion exact or approximate?

It is exact. Both units are derived directly from the SI base unit, the meter, so the factor of 10¹² is a defined value, not a measured approximation.

Where would I actually use nanometers?

Nanometers are used to express the wavelength of visible light (roughly 400–700 nm), the dimensions of transistors on a microchip, the diameter of DNA, and the size of viruses and many proteins.

Can I convert fractions of a kilometer?

Yes. Any decimal value works. For instance, 0.001 km equals 1,000,000,000 nm (1 × 10⁹ nm).

Report a bug

This field is required.