Units, in both directions
Length, mass, temperature and everything that follows. Pick any two units of a dimension; the engine composes the conversion through a base chosen for numerical stability.
definition only · zero code
Most converters ask you to trust a number nobody checked. Ours are transcribed from NIST SP 811 and verified against exact rational arithmetic on every build — and they run entirely in your browser.
°C = K − 273.15
NIST SP 811 (2008), Appendix B.8 — kelvin (K) to degree Celsius (°C): t/°C = T/K − 273.15
A converter, a calculator and a generator are the same thing: a function. That is why adding the hundredth tool costs one file of data, not one more application.
Length, mass, temperature and everything that follows. Pick any two units of a dimension; the engine composes the conversion through a base chosen for numerical stability.
definition only · zero code
A calculator is a function with a nicer face. The same definition carries its formula, its source and the values it must reproduce.
definition + interior
Colors, gradients, identifiers, passwords. If the output can be derived from the input, it belongs here — and it still runs on your machine.
definition + interior + logic
One bad factor costs the trust of the whole site, so a tool without passing tests does not get built. Reference values are transcribed from the standard — never produced by our own code, because code that checks itself proves nothing.
from: 'km',
to: 'mi',
references: [{
from: 'mi', to: 'km',
input: 1, expected: 1.609344,
source: nist('mile (mi) to kilometer (km)', true),
}],People search for a number, not a unit pair. This table answers the common ones on the page itself.
| kelvins | degrees Celsius |
|---|---|
| 0 | -273.15 |
| 100 | -173.15 |
| 173.15 | -100 |
| 233.15 | -40 |
| 253.15 | -20 |
| 273.15 | 0 |
| 293.15 | 20 |
| 298.15 | 25 |
| 310.15 | 37 |
| 373.15 | 100 |
| 500 | 226.85 |
| 1,000 | 726.85 |