Length converter cm, inches, feet and more

Type a length and pick the units to convert it between centimetres, inches, feet and more, in your browser: nothing you type is uploaded.

  • Nothing uploaded
  • Exact definitions
  • The working shown
  • Free, no sign-up

Length Converter

Fill in the boxes to see the answer.

Getting ready…

Quick facts from our tests

Check it yourself: once the page has loaded, turn off Wi-Fi and mobile data, and the Length Converter still works. Your browser's network panel (F12 on a computer) shows the numbers you type are never sent. Google's ad code loads here too; our code never gives it the numbers you type. How we prove it

How to convert lengths

  1. Type the length

    Any number.

  2. Pick the units

    From and to.

  3. Copy the answer

    With both units.

When this tool isn't the right fit

  • You need feet and inches together. It converts one unit at a time; turn the inches into feet first, or the feet into inches, as the guide shows.
  • You need an area, such as square feet. Areas square the factor: use Area Converter.
  • Your length is in a local unit such as the hath or gaz. Local units varied from place to place, so they aren't here.

Why use PDFGuild's length converter

More free tools

Private like this one: nothing you type or add leaves your device.

Length Converter: the complete guide

The exact definitions, converting by hand, height in feet and inches, paper and screens, kilometres and miles, and common mistakes.

In this guide
  1. What it does
  2. Step by step
  3. What it does exactly
  4. Real results
  5. Where the numbers come from
  6. Converting by hand
  7. Height in feet and inches
  8. Quick table
  9. Paper, screens and sizes
  10. Kilometres and miles
  11. Ten significant digits
  12. Inside the metric system
  13. Mixed units in school sums
  14. The survey foot
  15. Measuring well
  16. From lengths to areas
  17. The nautical mile
  18. Pixels are not lengths
  19. Fractions of an inch
  20. Common mistakes
  21. Worked examples
  22. Privacy
  23. Tips
  24. Limits
  25. Terms explained

What the length converter does, and when you need it

Type a length, choose the unit it is in and the unit you want, and this converter gives the answer at once, with both one-unit rates and the working. 170 cm is 5.577427822 feet, or 66.92913386 inches; 1 mile is exactly 1.609344 km. It converts between millimetres, centimetres, metres, kilometres, inches, feet, yards and miles, working from each unit's exact definition, so the digits it shows are right.

It all happens in your browser: nothing you type is uploaded or kept.

When it helps:

  • Heights on forms, in feet and inches or in centimetres.
  • Sizes of screens, furniture, paper and fabric.
  • Distances in kilometres or miles, for running, travel or maps.
  • Shopping from abroad, where sizes are often given in inches or feet.
  • Homework and exams, where unit conversions come up all the time.

The Weight Converter, Temperature Converter and Area Converter work the same way, from exact definitions.

Step by step

  1. Type the length, such as 170. Commas the Indian or the international way and Hindi digits are read, and decimals are fine.
  2. Choose the unit it is in, such as centimetres, and the unit you want, such as feet.
  3. Read the answer in large type, with what one of each unit is in the other.
  4. Open “How this was worked out” for the definitions and the sum, and use Copy result for a one-line summary.

Try an example fills in 170 cm to feet, and Clear empties the box.

What the page does, exactly

These are the converter's rules in full, and the same rules are checked by our tests.

PartThe ruleExample
What you can typeDigits, also those of Hindi and other scripts, a dot for decimals, commas the Indian or the international way, and a minus sign1,200 and 1200 are the same
The unitsmm, cm, m, km, inches, feet, yards and miles, each as an exact number of metres1 in = 0.0254 m
The sumThe length × the first unit in metres ÷ the second unit in metres, worked out exactly in fractions170 × 0.01 ÷ 0.3048 ft
How it is writtenTo 10 significant digits, half away from zero, without trailing zeros, with lakh-style commas5.577427822 ft; 3,280.839895 ft
Very large or smallFrom 1015 up, or below 0.000001, with a power of ten1 × 10-12 km
Exact or roundedThe working says “exactly” when nothing was rounded, and the one-unit rates say “about” when they were1 in is 2.54 cm; 1 cm is about 0.3937007874 in

Real results from our tests

We tested the Length Converter with headless Chromium 148, the open-source browser Chrome is built on, on a Windows laptop with an Intel Core i7-1185G7 and 32 GB of memory, on 1 November 2026. Other work was running on the laptop at the same time, so times vary a little from run to run: each time below is the middle one of 3 runs.

Checked against a second program. Python's exact fractions, with none of the page's code, converted 25,000 random lengths from 10-12 to 1015, with and without decimals and some below zero, between every pair of the eight units, and the page's code gave the same 75,000 values every time: the answer and the two one-unit rates of each, to 10 significant digits. The boxes were typed as people type them, with Indian and international commas, and in Hindi, Bengali and Gujarati digits. One of the answers sat exactly on half of its tenth digit, and it was rounded away from zero, as it should be.

The answer is drawn at once. The page drew the answer to a typed length in 0.52 milliseconds (the middle of 3 runs of 200 lengths typed in a row), not counting the moment the browser takes to paint the screen.

Size and offline. On a first visit the page downloads about 0.1 MB for the tool: the page, its styles, its scripts and the fonts, with Google's ad code not counted. In our test we switched the network off after the page had loaded and pressed Try an example: the answer showed 0.1 seconds later or less in each of 15 runs.

Phone-sized screen. We also ran the tests on a phone-sized screen in Chromium (390 × 844 pixels, with touch). That is not a real phone. Every button and box was 44 pixels high or more, and the page did not scroll sideways.

Try it yourself: press "Try an example" at the top of this page. It puts 170 in the box, from centimetres to feet, and the answer is 5.577427822 feet. Then choose inches: 66.92913386.

Try the example
The Length Converter after its example: 170 centimetres is 5.577427822 feet, with what 1 cm and 1 ft are
Our example length, converted in the browser.

Where the numbers come from

The inch, foot, yard and mile used to differ slightly from country to country. In 1958 the English-speaking countries agreed to unify their standards of length and mass, and from 1 July 1959 the yard became exactly 0.9144 metre. Everything else follows from it: the inch, a thirty-sixth of a yard, is exactly 2.54 cm, as the US National Institute of Standards and Technology (NIST) puts it, “exactly equivalent to 25.4 mm”; the foot, 12 inches, is exactly 0.3048 m; and the mile, 1,760 yards, is exactly 1,609.344 m.

Because these are exact, the converter can work in exact fractions and never collect rounding errors. The metre itself is defined from the speed of light, and the units of the metric system are tenths, hundredths and thousandths of it, so every conversion here comes down to multiplying and dividing exact numbers.

Converting by hand

Turn the length into metres, then into the unit you want. For 170 cm in feet:

  1. Into metres: 170 cm × 0.01 = 1.7 m.
  2. Into feet: 1.7 ÷ 0.3048 = 5.5774278… ft.

Or use a single rate: there are 2.54 cm in an inch and 30.48 cm in a foot, so 170 cm ÷ 30.48 = 5.577427822 ft. Dividing by the exact rate is safer than multiplying by a rounded one: 170 × 0.0328 gives 5.576, already a thousandth of a foot out.

Height in feet and inches

Heights are often asked in feet and inches, such as 5 ft 7 in, while the converter gives a single unit. To turn centimetres into feet and inches:

  1. Convert to inches: 170 cm is 66.92913386 in.
  2. Take out the whole feet: 66.93 ÷ 12 = 5 feet, which is 60 inches.
  3. The rest is inches: 66.93 − 60 = 6.93, so 170 cm is about 5 ft 6.9 in, or 5 ft 7 in rounded.

The other way round, 5 ft 8 in is 5 × 12 + 8 = 68 inches, and 68 in is exactly 172.72 cm. 6 ft is exactly 182.88 cm. Forms that ask for height in centimetres usually want a whole number, so 172.72 cm is written as 173 cm unless the form says otherwise.

Quick table

UnitIn metricThe other way
1 inch2.54 cm exactly1 cm is about 0.3937 in
1 foot30.48 cm exactly1 m is about 3.2808 ft
1 yard0.9144 m exactly1 m is about 1.0936 yd
1 mile1.609344 km exactly1 km is about 0.6214 mi

The left-hand column is exact; the right-hand one is rounded to four decimal places here, and the converter gives it to ten significant digits.

Paper, screens and sizes

  • A4 paper is 210 × 297 mm, which is 8.267716535 × 11.69291339 inches, about 8.27 × 11.69 in, while US Letter paper is 8.5 × 11 inches; A4 vs Letter explains the difference, and Resize PDF changes a PDF's page size.
  • Screens are sold by their diagonal in inches: a 55-inch TV is 139.7 cm across the diagonal, exactly.
  • Furniture and rooms are often in feet: a 6-foot bed is 182.88 cm long.
  • Cloth is sold in metres in most shops, and in yards in some: 1 yard is 0.9144 m, so 5 yards is 4.572 m.

Kilometres and miles

India measures roads in kilometres, while maps and apps from some countries use miles. A mile is exactly 1.609344 km, and a kilometre about 0.6214 miles. A 10 km run is 6.213711922 miles, and a marathon of 42.195 km is 26.21875746 miles, the “26.2 miles” runners quote. For speeds, the Speed Converter turns km/h into miles an hour; for the fuel a trip needs, the Fuel Cost Calculator works it out from the distance.

Ten significant digits

Most conversions don't come out even: 1 cm is 0.3937007874015748… inches, and the digits go on. The converter writes ten significant digits, counted from the first one that isn't zero, rounding the last one half away from zero: 0.3937007874. Ten digits are far more than any ruler can measure, so the answer is as precise as anything you will use it for. When the result is exact, such as 6 ft = 182.88 cm, it is written in full and the working says “exactly”.

Very large and very small results are written with a power of ten, so 10-12 km is clearer than a long row of zeros.

Inside the metric system

Metric units step by tens, so converting between them only moves the decimal point. 1 km is 1,000 m, 1 m is 100 cm, and 1 cm is 10 mm, so 1 m is 1,000 mm and 1 km is 10,00,000 mm. 2.35 m is 235 cm or 2,350 mm; 750 m is 0.75 km. The converter does these too, and they always come out exact.

Mixed units in school sums

School questions often mix two units, such as 3 km 250 m or 2 m 35 cm. Turn the smaller unit into a decimal of the larger, or the larger into the smaller, before you add or convert: 3 km 250 m is 3.25 km or 3,250 m, and 2 m 35 cm is 2.35 m or 235 cm. Then type the single number here. The same works for feet and inches: 4 ft 6 in is 4.5 ft, or 54 in.

The international foot and the survey foot

In the United States, land surveys long used an older “survey foot”, defined as 1,200 ÷ 3,937 metre. It is about two parts in a million longer than the international foot of exactly 0.3048 m, which makes a difference only over very long survey distances. This converter uses the international foot, the one in every everyday use, and its inch, yard and mile.

Measuring well

A conversion is only as good as the measurement. Hold a tape straight and flat, read it with your eye level with the mark, and measure twice. For a height, stand against a wall without shoes, with a book flat on your head, and mark the wall under it. Write the measurement down with its unit, so 66 doesn't become 66 cm when you meant inches.

From lengths to areas

Plots and rooms are measured by their sides, and their area is length times breadth. A plot 30 ft by 40 ft is 1,200 sq ft. Convert the area, not each side and then multiply rounded numbers: the Area Converter turns 1,200 sq ft into exactly 111.483648 sq m, and into guntha, cents or acres for farmland.

The nautical mile

Ships and aircraft use the nautical mile, exactly 1,852 metres, about 1.15 ordinary miles. It isn't in this converter's list, since it is rarely used on land, but a speed in knots, nautical miles an hour, is: the Speed Converter turns knots into km/h.

Pixels are not lengths

A pixel has no fixed size: a photo's size in centimetres depends on how many pixels are printed or shown per inch. Printed at 300 pixels per inch, a photo 1,800 pixels wide is 6 inches, 15.24 cm, wide; at 150 pixels per inch it is twice as wide. So to turn pixels into centimetres, first divide by the pixels per inch, then convert the inches here.

Fractions of an inch

Tapes and rulers marked in inches show halves, quarters, eighths and sixteenths. Turn the fraction into a decimal before you type it: 3/8 inch is 0.375 in, which is exactly 0.9525 cm, and 1/16 inch is 0.0625 in, exactly 0.15875 cm. A spanner or a drill bit sold as 1/4 inch is 6.35 mm.

Common mistakes

  • Reading 5.5 feet as 5 ft 5 in. 5.5 feet is 5 ft 6 in, since half a foot is 6 inches.
  • Mixing up the factor: to go from centimetres to inches, divide by 2.54; to go from inches to centimetres, multiply.
  • Rounding too early: keep all the digits until the end, then round once.
  • Confusing square and plain units: a square foot is not a foot; for areas, use the Area Converter.

Worked examples

  • 100 m in feet: 328.0839895 ft.
  • 1 km in feet: 3,280.839895 ft.
  • 1 foot in centimetres: 30.48 cm, exactly.
  • 1 yard in metres: 0.9144 m, exactly.
  • 210 mm in inches: 8.267716535 in.
  • 42.195 km in miles: 26.21875746 mi.
  • 5 ft 8 in, which is 68 in, in centimetres: 172.72 cm, exactly.
  • A 55-inch screen in centimetres: 139.7 cm, exactly.
  • 10 km in miles: 6.213711922 mi.

Private: your numbers stay on your device

The lengths you type never leave your device. The converter runs inside your browser and has no upload step: it never sends the numbers you type anywhere, and it doesn't save them, so closing the page forgets them. The page's Content Security Policy lets it contact only this site and Google's ad service, which pays for the site; our code never gives your numbers to the ad code. You can check it yourself in your browser's network panel (F12 on a computer): converting a length adds no request that carries your numbers.

Read our privacy policy and how we prove your files are never uploaded.

The Length Converter after its example: 170 centimetres is 5.577427822 feet, with what 1 cm and 1 ft are, at a phone's size with the internet switched off by our test, between our test's bands that read "Internet switched off" and "Nothing uploaded: 0 requests sent data"
Proof from our testOn 9 November 2026, our test opened Length Converter at a phone's size, switched the internet off and ran it on its built-in example. It finished with no connection, and none of the page's 17 requests sent any data.How we test, and how to check it yourself

Tips

  • Round only at the end, to the precision your form or project needs.
  • Remember 2.54: inches and centimetres are linked by it exactly.
  • For heights, convert to inches first, then split off the feet.
  • Copy the result instead of retyping a long number.
  • Check which foot or mile is meant in an old document or a survey map from abroad.

Limits

  • One unit at a time: feet and inches together need the two steps above.
  • No old or local units such as the hath or the gaz; the yard here is the international yard.
  • Up to 1015 in the box, with or without a minus sign.
  • Browsers. We tested only in Chromium, the engine behind Chrome and Edge, with computer and phone-sized screens. We did not test on real phones, in Safari or in Firefox, so we cannot promise how they behave.

Terms explained

Metre
The SI unit of length; a centimetre is a hundredth of it and a kilometre a thousand.
Inch
Exactly 2.54 centimetres.
Foot
12 inches, exactly 30.48 centimetres.
Yard
3 feet, exactly 0.9144 metre since 1959.
Mile
1,760 yards, exactly 1,609.344 metres.
Significant digits
The digits of a number from its first non-zero digit on.

From the blog

Length Converter and related jobs, explained step by step. See all 90 articles

Frequently asked questions

Is the Length Converter free?

Yes. There is no sign-up and no limit on how often you use it. Ads from Google help pay for the site, and they are kept apart from the converter.

Is what I type uploaded anywhere?

No. The converter has no upload step: it never sends your lengths anywhere, and it doesn't save them. Google's ad code loads on the page, and our code never gives it your numbers.

How many centimetres are in an inch?

Exactly 2.54. The inch has been defined as 25.4 mm since 1959, so 1 cm is about 0.3937007874 inch.

What is 170 cm in feet and inches?

170 cm is 66.92913386 inches: 5 feet, which is 60 inches, and about 6.9 inches more, so about 5 ft 7 in.

What is 5 ft 8 in in centimetres?

5 feet 8 inches is 68 inches, which is exactly 172.72 cm.

How many feet are in a metre?

About 3.280839895. A foot is exactly 0.3048 m, so 1 m is 1 ÷ 0.3048 feet.

How many kilometres are in a mile?

Exactly 1.609344. A kilometre is about 0.6213711922 mile.

What is 10 km in miles?

6.213711922 miles. A marathon, 42.195 km, is 26.21875746 miles.

Is a yard the same as a metre?

No. A yard is exactly 0.9144 m, a little under a metre; a metre is about 1.0936 yards.

What size is A4 paper in inches?

210 × 297 mm, which is about 8.27 × 11.69 inches.

How do I convert fractions of an inch?

Turn the fraction into a decimal first: 3/8 inch is 0.375 in, which is exactly 0.9525 cm.

Why does it show ten digits?

Most conversions don't come out even, so the converter writes ten significant digits, rounding the last one; when the answer is exact, it says so.

Can I type a negative length?

Yes, for a difference or a change, such as −5 cm; the conversion works the same way.

Does it work offline?

Yes, once the page has loaded: the sums are done by your browser, so it keeps working with the network switched off.

Does it save or remember what I type?

No. The converter doesn't save your numbers, so closing or reloading the page forgets them.

By the PDFGuild team · Updated · How we test