General unit converter
Converts a value between any two units within one of 21 engineering unit categories (length, mass, force, pressure, energy, power, temperature, viscosity, volume flow, etc.), using the legacy JSUC conversion-factor tables.
Converted value1
fromUnit/toUnit are indices into UNIT_CATEGORIES[property].units, rendered as a dependent dropdown (optionsFor) that updates when property changes — mirroring the legacy page's cascading <select> menus.
Method & references
- JavaScript Unit Converter (JSUC) — general-purpose unit conversion table.
The computation is a literal port of the original client-side JavaScript from /calculators/converter.htm. Results are verified equal to the original by an automated golden-master test. No formula has been re-derived or “improved”.