oLoveTools
Exact unit converter

The converter that does not round behind your back

Every factor is stored as an exact fraction and the rounding happens once, when the number reaches the screen. That is why a tebibyte here is 1 099 511 627 776 bytes and not 1 099 511 628 000.

  • Exact fractions, not floating point
  • Free-text input
  • Batch mode
  • Nothing is uploaded
Inputm
Output
3.28083989501

Hold Alt to replace every rounded figure with its exact value.

Every unit at once

1 m
km
0.001
m
1
dm
10
cm
100
mm
1000
µm
1000000
nm
1000000000
mi
0.000621371192237
yd
1.09361329834
ft
3.28083989501
in
39.3700787402
nmi
0.000539956803456
au
6.68458712227e-12
ly
1.05700083402e-16

A whole column at once

Paste a column of values — or open a text file — and convert every line in one go. Nothing is read until you press the button.

With that box ticked the tool reads only the digits and applies the input unit you picked, so nothing is guessed from the text.

Keep goingThe table travels with you — no download, no re-upload

How it works

01

Pick the family

Eighteen of them, from length and mass to pressure, data rate and fuel economy. Or press Ctrl+K and search all 156 units at once.

02

Type the quantity

A plain number, a fraction like 3/4, a mixed number like 1 1/2, a percentage, or a compound value such as 5'11" or 2 ft 3 in.

03

Tune the output

Choose significant digits or fixed decimals, switch to scientific or engineering notation, add thousands separators, or break the result into feet and inches.

04

Take it further

Copy a single figure, download the whole table as CSV, or send it straight to another oLoveTools tool without a trip through your downloads folder.

Exact fractions, not floats

Every factor is a ratio of big integers — a foot is 3048/10000 of a metre, not 0.3048 — so the arithmetic carries no error and the rounding happens once, on screen.

Compound results

1.8542 m as 6 ft 1 in, 5445.5 s as 1 h 30 min 45.5 s, 41.4025° as 41° 24' 9". The whole part is exact and only the last piece carries decimals.

Convert a column

Paste or open a list and convert every line in one pass, with the unreadable lines flagged instead of silently dropped.

156 units, one search box

Ctrl+K searches names, symbols and aliases across all eighteen families, and jumps to the right one. Pin the units you use to keep them on top.

Precision you control

Significant digits, fixed decimals, scientific and engineering notation, and thousands separators that follow your language.

Keyboard first

Ctrl+K to search, S to swap, Ctrl+Z and Ctrl+Shift+Z to move through your history, and Alt held down to reveal the exact value behind every rounded one.

Chained to the rest

Send the results to the list cleaner, the JSON viewer, the Markdown preview or the diff tool, and receive files from them the same way.

Nothing leaves the tab

No upload, no API call, no account. Every figure is computed by your own browser, and closing the tab discards all of it.

Frequently asked questions

Why do other converters give a slightly different answer?+

Because most of them multiply by a floating-point factor and then round the result to a fixed number of significant digits. That is fine for a kitchen measurement and wrong for a storage figure: rounding 1 099 511 627 776 bytes to ten digits returns 1 099 511 628 000, which is not the same number with less detail — it is a different number. Here the value stays a fraction of big integers until it is printed, and the precision you choose never eats into the integer part.

What can I type into the input box?+

A plain number with either a dot or a comma as the decimal mark, a fraction like 3/4, a mixed number like 1 1/2, a percentage like 12%, scientific notation like 1.25e-4, a value with its unit written out like 12 km or 90 km/h, a compound value like 2 ft 3 in or 1h 30min, and feet-and-inches notation like 5'11". If a unit is written in the text it wins over the selector; if not, the selector is used.

What does the ≈ mark next to some units mean?+

That the definition itself is not exact, so no converter can be. Radians depend on π, which is irrational; the average month and the average year are calendar averages; Mach depends on the temperature of the air. Everything else in the catalogue is defined exactly by treaty or by standard, and the arithmetic here preserves that exactness.

How do I see the value without any rounding?+

Hold down Alt. Every figure on screen switches to its exact form: the full decimal expansion when the fraction has one, and the irreducible fraction itself when it does not — one third of an inch is shown as a ratio rather than as 0.333… truncated somewhere.

Can I convert a whole list at once?+

Yes. Paste a column into the batch box, or open a .txt or .csv file, and press the convert button. Lines that cannot be read are marked rather than dropped, so the output lines up with the input. Ticking the manual box makes the tool ignore any unit written in the lines and apply the one you selected instead.

Does anything I type get uploaded?+

No. There is no server component and no network request at any point in a conversion. Files you open are read locally by the browser and never sent anywhere. The current conversion is written into the page URL so you can share or bookmark it — that is the only place your numbers are stored, and it stays on your machine unless you send the link yourself.

Part of the oLoveTools suite
oLoveTools

Convert 156 units across 18 families with exact arithmetic — length, mass, temperature, pressure, energy, data and more, all in your browser.

Instant local processing

A conversion here is a multiplication of two fractions of big integers, which your browser finishes in microseconds — there is nothing to wait for and nothing to send anywhere. The cost that other converters pay is not speed but accuracy: multiplying by a floating-point factor introduces an error at the seventeenth digit that grows with every step, and rounding a result to ten significant digits turns 1 099 511 627 776 bytes into 1 099 511 628 000. Keeping the value as a fraction until the very last moment removes both problems at once, and it costs nothing, because the numbers involved fit in a handful of machine words even for a light year measured in nanometres.

Built for the awkward conversions

Simple conversions are easy anywhere. The ones that go wrong are the reciprocal ones — miles per gallon against litres per 100 km, where more of one is less of the other — the affine ones, where Fahrenheit needs an offset of exactly minus one hundred and sixty ninths and not minus 17.7778, and the ones where two units that look identical are not: an atmosphere is 760 torr exactly but 759.99989 millimetres of mercury, because the conventional millimetre of mercury was redefined and the torr was not. All three cases are handled here as first-class citizens rather than approximated away, and the units whose definitions really are inexact — radians, an average month, Mach at sea level — are marked as such instead of pretending otherwise.

Private by construction

There is no server side to this tool. The numbers you type, the lists you paste and the files you open stay in the tab: a file is read with the browser's own file reader and never uploaded, and closing the tab discards everything. The only thing that travels is what you choose to put in the address bar — the category, the two units and the value are encoded there so you can share or bookmark a specific conversion, and nothing else about your session is recorded anywhere.

unit convertermetric to imperiallength convertertemperature converterpressure converterdata storage converterfuel economy convertermpg to l/100kmfeet and inchesonline toolfree

Frequently asked questions

Why do other converters give a slightly different answer?

Because most of them multiply by a floating-point factor and then round the result to a fixed number of significant digits. That is fine for a kitchen measurement and wrong for a storage figure: rounding 1 099 511 627 776 bytes to ten digits returns 1 099 511 628 000, which is not the same number with less detail — it is a different number. Here the value stays a fraction of big integers until it is printed, and the precision you choose never eats into the integer part.

What can I type into the input box?

A plain number with either a dot or a comma as the decimal mark, a fraction like 3/4, a mixed number like 1 1/2, a percentage like 12%, scientific notation like 1.25e-4, a value with its unit written out like 12 km or 90 km/h, a compound value like 2 ft 3 in or 1h 30min, and feet-and-inches notation like 5'11". If a unit is written in the text it wins over the selector; if not, the selector is used.

What does the ≈ mark next to some units mean?

That the definition itself is not exact, so no converter can be. Radians depend on π, which is irrational; the average month and the average year are calendar averages; Mach depends on the temperature of the air. Everything else in the catalogue is defined exactly by treaty or by standard, and the arithmetic here preserves that exactness.

How do I see the value without any rounding?

Hold down Alt. Every figure on screen switches to its exact form: the full decimal expansion when the fraction has one, and the irreducible fraction itself when it does not — one third of an inch is shown as a ratio rather than as 0.333… truncated somewhere.

Can I convert a whole list at once?

Yes. Paste a column into the batch box, or open a .txt or .csv file, and press the convert button. Lines that cannot be read are marked rather than dropped, so the output lines up with the input. Ticking the manual box makes the tool ignore any unit written in the lines and apply the one you selected instead.

Does anything I type get uploaded?

No. There is no server component and no network request at any point in a conversion. Files you open are read locally by the browser and never sent anywhere. The current conversion is written into the page URL so you can share or bookmark it — that is the only place your numbers are stored, and it stays on your machine unless you send the link yourself.

© 2026 oLoveToolsAbout

Next step

Sort and clean the list List Mixer Open the table as JSON JSONFlow Preview the Markdown table MarkdownLive

UnitFlow | Unit converter with exact arithmetic

Convert length, mass, temperature, pressure, energy, data, fuel economy and eleven more families of units with exact fraction arithmetic instead of floating point. Free-text input, batch mode, compound results. Nothing leaves your browser.

Frequently asked questions

Why do other converters give a slightly different answer?

Because most of them multiply by a floating-point factor and then round the result to a fixed number of significant digits. That is fine for a kitchen measurement and wrong for a storage figure: rounding 1 099 511 627 776 bytes to ten digits returns 1 099 511 628 000, which is not the same number with less detail — it is a different number. Here the value stays a fraction of big integers until it is printed, and the precision you choose never eats into the integer part.

What can I type into the input box?

A plain number with either a dot or a comma as the decimal mark, a fraction like 3/4, a mixed number like 1 1/2, a percentage like 12%, scientific notation like 1.25e-4, a value with its unit written out like 12 km or 90 km/h, a compound value like 2 ft 3 in or 1h 30min, and feet-and-inches notation like 5'11". If a unit is written in the text it wins over the selector; if not, the selector is used.

What does the ≈ mark next to some units mean?

That the definition itself is not exact, so no converter can be. Radians depend on π, which is irrational; the average month and the average year are calendar averages; Mach depends on the temperature of the air. Everything else in the catalogue is defined exactly by treaty or by standard, and the arithmetic here preserves that exactness.

How do I see the value without any rounding?

Hold down Alt. Every figure on screen switches to its exact form: the full decimal expansion when the fraction has one, and the irreducible fraction itself when it does not — one third of an inch is shown as a ratio rather than as 0.333… truncated somewhere.

Can I convert a whole list at once?

Yes. Paste a column into the batch box, or open a .txt or .csv file, and press the convert button. Lines that cannot be read are marked rather than dropped, so the output lines up with the input. Ticking the manual box makes the tool ignore any unit written in the lines and apply the one you selected instead.

Does anything I type get uploaded?

No. There is no server component and no network request at any point in a conversion. Files you open are read locally by the browser and never sent anywhere. The current conversion is written into the page URL so you can share or bookmark it — that is the only place your numbers are stored, and it stays on your machine unless you send the link yourself.

Keywords

unit converter, metric to imperial, length converter, temperature converter, pressure converter, data storage converter, fuel economy converter, mpg to l/100km, feet and inches, online tool, free