Unit Converters
Convert units of pressure, length, time, force, mass, accel., temp, speed, frequency, area, & more!
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Chad Greene (2026). Unit Converters (https://ch.mathworks.com/matlabcentral/fileexchange/35258-unit-converters), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Unit Conversion, Units Conversion Toolbox, Velocity Conversion Toolbox, Temperature Conversion Toolbox
Inspired: Compressibility Factor Calculator, Water sound speed calculator, Sea water freezing temperature calculator, convert
General Information
- Version 1.24.0 (533 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Communities
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.24.0 | Fixed a typo in cm32l--thanks for catching the error, Maximilian. |
||
| 1.23.0 | Now with more significant digits. Thanks for the suggestions Erich. |
||
| 1.22.0 | Edited description text. |
||
| 1.20.0 | Most powerful version to date! Now with hp, Btuph, W, kW, MW, GW, TW, hpe, and hpb! |
||
| 1.19.0 | The most powerful version to date! W, hp, hpe, hpb, kW, MW, GW, TW, Btuph. |
||
| 1.14.0 | A lot of energy went into making this update: Btu, cal, kcal, eV, erg, ftlb, Nm, J, kJ, kWh. |
||
| 1.13.0 | Turned up the volume in this release. cl, cc, ml, cm3, ft3, in3, km3, m3, mi3, gal, l, oz, qt, yd3. |
||
| 1.12.0 | Acceleration and gravity: Gal, mGal, uGal, nmps2, mps2, cmps2, G, ftps2, mmps2. Note that in this release, nms2 has become nmps2 for consistency with naming convention. |
||
| 1.11.0 | Area: acre, ha, cm2, ft2, in2, km2, m2, mi2, mm2, yd2. |
||
| 1.10.0 | Computing: bits and bytes. |
||
| 1.8.0 | Pressure conversions: bar, mbar, psi, hPa, Pa, kPa, MPa, ftH2O, inH2O, mmHg, Torr, atm, dynpcm2. |
||
| 1.7.0 | Force (or weight) conversions now included. |
||
| 1.6.0 | Massive addition to the bundle. Added mass conversions, mostly. |
||
| 1.5.0 | Added conversions for time, frequency, and speed. Still plenty more to come. |
||
| 1.4.0 | Now, with angstroms! Added many more length converter functions in this update. More to come soon! |
||
| 1.3.0 | Added acceleration converters, clarified documentation, added occasional commentary. |
||
| 1.2.0 | edited description text |
||
| 1.0.0 |