https://github.com/dohliam/units
Units - a small portable unit converter
https://github.com/dohliam/units
conversion converters javascript mobile tiny-tools unit-conversion unit-converter units units-of-measurement
Last synced: 6 months ago
JSON representation
Units - a small portable unit converter
- Host: GitHub
- URL: https://github.com/dohliam/units
- Owner: dohliam
- License: mit
- Created: 2017-03-03T18:10:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T22:02:34.000Z (over 5 years ago)
- Last Synced: 2025-04-11T22:07:50.072Z (6 months ago)
- Topics: conversion, converters, javascript, mobile, tiny-tools, unit-conversion, unit-converter, units, units-of-measurement
- Language: HTML
- Homepage: https://dohliam.github.io/tiny_tools/units/
- Size: 4.88 KB
- Stars: 13
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Units - A small portable unit converter
## Overview
This is a very small offline-first mobile-friendly unit conversion tool for the browser. There are many full featured unit converters out there, so every effort has been made to keep this as simple, fast, and portable as possible.
A demo is available [here](https://dohliam.github.io/tiny_tools/units/).
## Usage
Select a category (e.g. _Length_, _Mass_) from the dropdown menu and then choose the **from** and **to** units.
The resulting conversion at the bottom of the page will live update as different values and units are selected.
A full list of the currently supported units is below.
## Units
### Time
* milliseconds
* seconds
* minutes
* hours
* days
* weeks
* months
* years
* decades
* centuries### Length
#### Metric
* mm
* cm
* m#### Imperial
* in
* ft
* yd
* mi### Temperature
* °C
* °F
* K
* °N### IT
* bit
* byte
* KB
* MB
* GB
* TB### Area
#### Metric
* cm²
* m²
* km²
* hectare#### Imperial
* sq in
* sq ft
* sq mi
* acre### Mass
#### Metric
* mg
* g
* kg
* ton / tonne (metric ton)#### Imperial
* oz
* oz avoirdupois
* lb
* stone
* short ton### Volume
#### Metric
* litre
* millilitre
* cc
* mm³
* m³
* km³#### Imperial
* fl oz (imp)
* teaspoon (Can)
* tablespoon (Can)
* cup
* gal (imp)
* gal (US)
* pint (imp)
* quart (imp)
* cu in
* cu ft
* cu mi### Speed
#### Metric
* m/s
* km/h#### Imperial
* mph
* mpm
* mps
* fps## See also
"Units" is part of the [**tiny tools**](https://dohliam.github.io/tiny_tools/) series, a collection of small mobile-friendly JavaScript tools for performing common tasks in the browser.
Other tools for working with numbers and units that might also be of interest:
* [Compare prices](https://github.com/dohliam/compare-prices)
* [Currency table](https://github.com/dohliam/currency-table)## Credits
* [Milligram](https://github.com/milligram/milligram) CSS by @cjpatoilo, prototyped using [dropin-minimal-css](https://github.com/dohliam/dropin-minimal-css)
* [github-corners](https://github.com/tholman/github-corners) by @tholman## License
MIT.