Millimeters, Centimeters and Inches Converter

Convert millimeters, centimeters and inches, including fractional inches. Compare several sizes and choose the fraction precision.

Convert length

Values: 0–1,000,000,000, up to 12 decimal places. Use a decimal point. Blank is incomplete. Inches also accept simple, improper or mixed fractions: 3/8, 43/8, 5 3/8. Denominator: 1–1,000,000. Changing From unit preserves a valid physical quantity as a converted source; for incomplete input it starts blank. Edit value starts a blank manual draft.

Size 1

Selected unit: Centimeters (cm)

Selected unit: Inches (in)

1 of 20 sizes. Every row must be complete.

Your result

Enter your values and select Calculate, or use Try example.

Method & examplesReviewed · Sources

How to use

Enter a size, choose mm, cm or inches, then select Calculate. Defaults are blank cm → inches, 4 display decimals and fraction precision 1/16 inch. Add size creates a blank row with the previous row’s units. Convert 1–20 sizes together; every row must be complete. Remove keeps the other rows. Copy all includes one labeled result per size, its decimal answer, fractional precision and rounding error.

Manual sizes allow 0–1,000,000,000 in the source unit, with up to 12 decimal places. Inches also accept simple fractions (3/8), improper fractions (43/8) and mixed fractions (5 3/8). Use one space between the whole number and fraction; fraction components must be nonnegative whole numbers, with denominator 1–1,000,000. The normalized total must fit the value limit. Feet and combined feet-and-inches input are outside this converter.

Formula and precision

One inch is exactly 25.4 mm, or 2.54 cm. Convert mm to inches by dividing by 25.4, or cm by dividing by 2.54. Reverse conversions multiply by these factors.

For an inch result, choose the nearest 1/2, 1/4, 1/8, 1/16, 1/32 or 1/64 inch. The fractional answer is reduced and carried into a whole inch when needed. Zero is shown as 0. The displayed signed error in mm is rounded fractional length minus exact length: a positive value means the fraction is longer. The exact error ratio is included, so a rounded error display cannot imply exact agreement. Fraction precision affects only the representation.

Worked examples

Limits and unit definitions

These are international inch and metric units. Input limits are product limits, not physical limits. The fraction is a rounded measurement representation; use the error to decide whether that precision suits your task. No cutting allowance is inferred. Continue with Fraction for arithmetic or Concrete and Square Footage for material calculations.

Input behavior and privacy

Fields start blank. Try example fills the active draft; Calculate validates it. Editing any field or setting hides the previous answer and Copy action until you calculate again. Empty required fields are incomplete, while an explicit 0 is valid. Reset clears every draft and restores the defaults described above.

Swap reverses the units using the exact physical value. A generated source is read-only, may exceed manual input limits, and is marked ≈ when its display is rounded. Edit value starts a blank manual value in the current source unit. Two Swaps restore the original input formatting, such as 1.000. Selecting a new From unit preserves a complete, valid physical quantity as a generated source; incomplete input starts blank in the new unit. To unit changes the requested representation. Neither unit selection nor display settings reuse rounded output as input.

Use a decimal point. Surrounding whitespace is accepted; commas, thousands separators, scientific notation, unit suffixes, NaN, Infinity and a trailing decimal point are rejected. Display decimals supports 0–6; halfway values round away from zero, trailing zeros are removed and zero is shown as 0. ≈ appears when the displayed number differs from the exact result.

Calculation uses exact integer ratios in your browser. Inputs, results and copied text are not added to URLs, saved in browser storage or sent over the network. Copy writes the labeled result to the clipboard when selected. If access fails, a selectable text box appears without clearing your inputs. Optional site analytics receives only the existing successful-calculation metadata, subject to the site’s consent settings; it does not receive values.

Sources and model

Method version 1.0.0. Reviewed .

Maintained by Aleksandr Pervukhin. Report a calculation error.