Skip to content
On this page

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Units plugin for Craft CMS 4.x

Units is a plugin that can convert between any units of measure, and comes with a Field for content authors to use.

Screenshot

Requirements

This plugin requires Craft CMS 4.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require nystudio107/craft-units
    
  3. Install the plugin via ./craft install/plugin units via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Units.

You can also install Units via the Plugin Store in the Craft Control Panel.

Units Overview

Units is a plugin that can convert between any units of measure, and comes with a Field for content authors to use.

You can convert from meters to feet, or liters to gallons, and anything else in between.

It also has helper functions to output values as fractions, get the parts of a value, and a whole lot more.

Configuring Units

You don’t have to do any configuration to use Units, but there are Settings available that allow you to set the default values to use for new Units fields, should you wish to do so:

Screenshot

These settings only affect newly created Units fields.

Using Units

The Units Field

Units comes with a Field named Units that allows you to make a field available to content authors that encapsulates a unit of measure:

Screenshot

This field is essentially a Craft CMS Number field, but with additional logic to handle units of measure.

  • Measure Type - The type of physical quantity that this Units field represents (Length, Area, Volume, etc.)
  • Default Value - The default value to set for this field
  • Defaults Units - The default units to set for this field (foot, meter, mile, etc.)
  • Units Changeable - Whether the content author should be able to change the units when editing the field value in an Entry
  • Min Value - The minimum allowed value for the field, denominated in Default Units
  • Max Value - The maximum allowed value for the field, denominated in Default Units
  • Decimal Points - How many decimal points the value for the field should use
  • Size - The size of the field, roughly the number of digits wide the field should be

If the Units Changeable lightswitch is off, the field will appear like this:

Screenshot

If the Units Changeable lightswitch is on, the field will appear like this:

Screenshot

If the content author does change the units the field is denominated in, Units will normalize the value to ensure that it’s compared against the Defaults Units that the Min Value and Max Value are set to.

Templating

Creating a Unit of Measure

To create a new unit of measure, you do:

twig
{% set unitOfMeasure = craft.units.length(10.0, 'meters') %}

The string after the craft.units. determines the type of physical quantity for the unit of measure. The first parameter is the value to assign to the unit of measure, and the second parameter is the unit that it’s denominated in.

The following physical quantities are available:

  • Acceleration - {% set unitOfMeasure = craft.units.acceleration(10.0, 'm/s²') %}
  • Angle - {% set unitOfMeasure = craft.units.angle(10.0, 'radian') %}
  • Area - {% set unitOfMeasure = craft.units.area(10.0, 'm²') %}
  • ElectricCurrent - {% set unitOfMeasure = craft.units.electricCurrent(10.0, 'amp') %}
  • Energy - {% set unitOfMeasure = craft.units.energy(10.0, 'joule') %}
  • Length - {% set unitOfMeasure = craft.units.length(10.0, 'meter') %}
  • Luminosity - {% set unitOfMeasure = craft.units.luminosity(10.0, 'candela') %}
  • Mass - {% set unitOfMeasure = craft.units.mass(10.0, 'kilogram') %}
  • Pressure - {% set unitOfMeasure = craft.units.pressure(10.0, 'pascal') %}
  • Quantity - {% set unitOfMeasure = craft.units.quantity(10.0, 'mole') %}
  • SolidAngle - {% set unitOfMeasure = craft.units.solidAngle(10.0, 'steradian') %}
  • Temperature - {% set unitOfMeasure = craft.units.temperature(10.0, '°K') %}
  • Time - {% set unitOfMeasure = craft.units.time(10.0, 'sec') %}
  • Velocity - {% set unitOfMeasure = craft.units.velocity(10.0, 'meters/sec') %}
  • Volume - {% set unitOfMeasure = craft.units.volume(10.0, 'm³') %}

N.B.: For a complete list of all of the available units (and their aliases) for each physical quantity, see the Units Reference section.

Getting a Unit of Measure from a Field

To get a unit of measure from a field, simply do:

twig
{% set unitOfMeasure = entry.someUnit %}

This gives you the unit of measure just as if you had created it via Twig.

Using Unit of Measure in your Templates

Outputting Values in Decimal

To output a unit of measure as a decimal value along with its units, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.0, 'meters') %}
{{ unitOfMeasure }}

...or from an Entry:

twig
{{ entry.someUnit }}

Output:

twig
10.0 meters

To output just the decimal value:

twig
{% set unitOfMeasure = craft.units.length(10.0, 'meters') %}
{{ unitOfMeasure.value }}

...or from an Entry:

twig
{{ entry.someUnit.value }}

Output:

twig
10.0

To output just the units:

twig
{% set unitOfMeasure = craft.units.length(10.0, 'meters') %}
{{ unitOfMeasure.units }}

...or from an Entry:

twig
{{ entry.someUnit.units }}

Output:

twig
meters

Outputting Values as Fractions

To output a unit of measure as a fractional value along with its units, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'feet') %}
{{ unitOfMeasure.toFraction }}

...or from an Entry:

twig
{{ entry.someUnit.toFraction }}

Output:

twig
10 1/3 feet

To output just the fractional value:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'feet') %}
{{ unitOfMeasure.valueFraction }}

...or from an Entry:

twig
{{ entry.someUnit.valueFraction }}

Output:

twig
10 1/3

N.B.: if you’d like to convert the text of the fractions to actual unicode fraction characters, you can use the Typogrify plugin to do that for you.

Converting Values in Decimal

To convert values in decimal from one unit to another, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.0, 'meters') %}
{{ unitOfMeasure.toUnit('feet') }}

...or from an Entry:

twig
{{ entry.someUnit.toUnit('feet') }}

Output:

twig
32.808398950131

N.B.: For a complete list of all of the available units (and their aliases) for each physical quantity, see the Units Reference section.

Converting Values as Fractions

To convert values as fractions from one unit to another, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.15999998984, 'meters') %}
{{ unitOfMeasure.toUnitFraction('feet') }}

...or from an Entry:

twig
{{ entry.someUnit.toUnitFraction('feet') }}

Output:

twig
33 1/3

N.B.: if you’d like to convert the text of the fractions to actual unicode fraction characters, you can use the Typogrify plugin to do that for you.

N.B.: For a complete list of all of the available units (and their aliases) for each physical quantity, see the Units Reference section.

Performing Arithmetic on Units of Measure

Units allows you to perform arithmetic on units of measure that are denominated in different units.

Adding Units of Measure

Two add two units of measure together, simply do:

twig
{% set someMeters = craft.units.length(10.0, 'meters') %}
{% set someFeet = craft.units.length(10.0, 'feet') %}
{% set result = someMeters.add(someFeet) %}
{{ result }}

Output:

twig
13.048 m

The result that is returned is a full units of measure object that you can do result.value, result.units, etc. on just like any other unit of measure.

Note that the units of the result are denominated in the unit of measure that is performing the addition.

Subtracting Units of Measure

Two add two units of measure together, simply do:

twig
{% set someMeters = craft.units.length(10.0, 'meters') %}
{% set someFeet = craft.units.length(10.0, 'feet') %}
{% set result = someMeters.subtract(someFeet) %}
{{ result }}

Output:

twig
6.952 m

The result that is returned is a full units of measure object that you can do result.value, result.units, etc. on just like any other unit of measure.

Note that the units of the result are denominated in the unit of measure that is performing the subtraction.

Advanced Usage

Getting Value Parts in Decimal

To get the whole number and decimal part of a unit value, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'meters') %}
{% set unitParts = unitOfMeasure.valueParts() %}
{{ unitParts[0] }}
{{ unitParts[1] }}

Output:

twig
10
0.3333333
Getting Value Parts as Fractions

To get the whole number and fractional part of a unit value, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'meters') %}
{% set unitParts = unitOfMeasure.valuePartsFraction() %}
{{ unitParts[0] }}
{{ unitParts[1] }}

Output:

twig
10
1/3

N.B.: if you’d like to convert the text of the fractions to actual unicode fraction characters, you can use the Typogrify plugin to do that for you.

Getting Available Units

To get an array of all of the units available for a given units of measure, simply do:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'meters') %}
{% set availableUnits = unitOfMeasure.availableUnits(false) %}
{% for unit in availableUnits %}
    {{ unit }}
{% endfor %}

Output:

twig
meter
yottameter
zettameter
exameter
petameter
terameter
gigameter
megameter
kilometer
hectometer
decameter
decimeter
centimeter
millimeter
micrometer
nanometer
picometer
femtometer
attometer
zeptometer
yoctometer
foot
inch
mile
yard
nautical mile
mil
au

The false parameter causes it to just list the units, and none of their aliases. To see the available units and their aliases, do:

twig
{% set unitOfMeasure = craft.units.length(10.3333333, 'meters') %}
{% set availableUnits = unitOfMeasure.availableUnits(true) %}
{% for unit,aliases in availableUnits %}
    {{ unit }}
{% endfor %}

In this loop, aliases will be an array of aliases for a given unit (if any).

Units Reference

Units uses the PHP Units of Measure library, so it offers quite a bit of flexibility.

Below is a list of all of the types of physical quantity measures that Units supports, and a list of all of the units that can be used for each physical quantity.

The first item in the units list is the unit itself, and any sub-list items are aliases for that unit. For instance, craft.units.length(10, 'meters') is the same as craft.units.length(10, 'm').

Acceleration

  • M/s^2
    • M/s²
    • Meter per second squared
    • Meters per second squared
    • Metre per second squared
    • Metres per second squared

Angle

  • rad
    • Radian
    • Radians
  • Yrad
    • Yottaradian
    • Yottaradians
  • Zrad
    • Zettaradian
    • Zettaradians
  • Erad
    • Exaradian
    • Exaradians
  • Prad
    • Petaradian
    • Petaradians
  • Trad
    • Teraradian
    • Teraradians
  • Grad
    • Gigaradian
    • Gigaradians
  • Mrad
    • Megaradian
    • Megaradians
  • Krad
    • Kiloradian
    • Kiloradians
  • Hrad
    • Hectoradian
    • Hectoradians
  • Darad
    • Decaradian
    • Decaradians
  • Drad
    • Deciradian
    • Deciradians
  • Crad
    • Centiradian
    • Centiradians
  • Mrad
    • Milliradian
    • Milliradians
  • µrad
    • Microradian
    • Microradians
  • Nrad
    • Nanoradian
    • Nanoradians
  • Prad
    • Picoradian
    • Picoradians
  • Frad
    • Femtoradian
    • Femtoradians
  • arad
    • Attoradian
    • Attoradians
  • Zrad
    • Zeptoradian
    • Zeptoradians
  • Yrad
    • Yoctoradian
    • Yoctoradians
  • deg
    • °
    • Degree
    • Degrees
  • Ydeg
    • Yottadegree
    • Yottadegrees
  • Zdeg
    • Zettadegree
    • Zettadegrees
  • Edeg
    • Exadegree
    • Exadegrees
  • Pdeg
    • Petadegree
    • Petadegrees
  • Tdeg
    • Teradegree
    • Teradegrees
  • Gdeg
    • Gigadegree
    • Gigadegrees
  • Mdeg
    • Megadegree
    • Megadegrees
  • Kdeg
    • Kilodegree
    • Kilodegrees
  • Hdeg
    • Hectodegree
    • Hectodegrees
  • Dadeg
    • Decadegree
    • Decadegrees
  • Ddeg
    • Decidegree
    • Decidegrees
  • Cdeg
    • Centidegree
    • Centidegrees
  • Mdeg
    • Millidegree
    • Millidegrees
  • µdeg
    • Microdegree
    • Microdegrees
  • Ndeg
    • Nanodegree
    • Nanodegrees
  • Pdeg
    • Picodegree
    • Picodegrees
  • Fdeg
    • Femtodegree
    • Femtodegrees
  • Adeg
    • Attodegree
    • Attodegrees
  • Zdeg
    • Zeptodegree
    • Zeptodegrees
  • Ydeg
    • Yoctodegree
    • Yoctodegrees
  • Arcmin
    • Arcminute
    • Arcminutes
    • amin
    • Am
    • MOA
    • Arcsecond
    • Arcseconds
  • Arcsec
    • Asec
    • As
  • Yottaarcsec
    • Yottaarcsecond
    • Yottaarcseconds
    • Yasec
    • Yas
  • Zettaarcsec
    • Zettaarcsecond
    • Zettaarcseconds
    • Zasec
    • Zas
  • Exaarcsec
    • Exaarcsecond
    • Exaarcseconds
    • Easec
    • Eas
  • Petaarcsec
    • Petaarcsecond
    • Petaarcseconds
    • Pasec
    • Pas
  • Teraarcsec
    • Teraarcsecond
    • Teraarcseconds
    • Tasec
    • Tas
  • Gigaarcsec
    • Gigaarcsecond
    • Gigaarcseconds
    • Gasec
    • Gas
  • Megaarcsec
    • Megaarcsecond
    • Megaarcseconds
    • Masec
    • Mas
  • Kiloarcsec
    • Kiloarcsecond
    • Kiloarcseconds
    • Kasec
    • kas
  • Hectoarcsec
    • Hectoarcsecond
    • Hectoarcseconds
    • Hasec
    • Has
  • Decaarcsec
    • Decaarcsecond
    • Decaarcseconds
    • Daasec
    • daas
  • Deciarcsec
    • Deciarcsecond
    • Deciarcseconds
    • Dasec
    • Das
  • Centiarcsec
    • Centiarcsecond
    • Centiarcseconds
    • Casec
    • cas
  • Milliarcsec
    • Milliarcsecond
    • Milliarcseconds
    • Masec
    • mas
  • Microarcsec
    • Microarcsecond
    • Microarcseconds
    • µasec
    • µas
  • Nanoarcsec
    • Nanoarcsecond
    • Nanoarcseconds
    • Nasec
    • nas
  • Picoarcsec
    • Picoarcsecond
    • Picoarcseconds
    • Pasec
    • Pas
  • Femtoarcsec
    • Femtoarcsecond
    • Femtoarcseconds
    • Fasec
    • Fas
  • Attoarcsec
    • Attoarcsecond
    • Attoarcseconds
    • Aasec
    • aas
  • Zeptoarcsec
    • Zeptoarcsecond
    • Zeptoarcseconds
    • Zasec
    • Zas
  • Yoctoarcsec
    • Yoctoarcsecond
    • Yoctoarcseconds
    • Yasec
    • Yas

Area

  • M^2
    • Meter squared
    • Square meter
    • Square meters
    • Meters squared
    • Metre squared
    • Metres squared
  • Mm^2
    • Mm²
    • Millimeter squared
    • Square millimeter
    • Square millimeters
    • Millimeters squared
    • Millimetre squared
    • Millimetres squared
  • Cm^2
    • Cm²
    • Centimeter squared
    • Square centimeter
    • Square centimeters
    • Centimeters squared
    • Centimetre squared
    • Centimetres squared
  • Dm^2
    • Dm²
    • Decimeter squared
    • Square decimeters
    • Square decimeter
    • Decimeters squared
    • Decimetre squared
    • Decimetres squared
  • Km^2
    • Km²
    • Kilometer squared
    • Kilometers squared
    • Square kilometer
    • Square kilometers
    • Kilometre squared
    • Kilometres squared
  • Ft^2
    • Ft²
    • Foot squared
    • Square foot
    • Square feet
    • Feet squared
  • In^2
    • In²
    • Inch squared
    • Square inch
    • Square inches
    • Inches squared
  • Mi^2
    • Mi²
    • Mile squared
    • Miles squared
    • Square mile
    • Square miles
  • Yd^2
    • Yd²
    • Yard squared
    • Yards squared
    • Square yard
    • Square yards
  • A
    • Are
    • ares
  • Daa
    • Decare
    • Decares
  • Ha
    • Hectare
    • Hectares
  • Ac
    • Acre
    • Acres

ElectricCurrent

  • A
    • Amp
    • Amps
    • ampere
    • Amperes
  • YA
    • Yottaamp
    • Yottaamps
    • Yottaampere
    • Yottaamperes
  • ZA
    • Zettaamp
    • Zettaamps
    • Zettaampere
    • Zettaamperes
  • EA
    • Exaamp
    • Exaamps
    • Exaampere
    • Exaamperes
  • PA
    • Petaamp
    • Petaamps
    • Petaampere
    • Petaamperes
  • TA
    • Teraamp
    • Teraamps
    • Teraampere
    • Teraamperes
  • GA
    • Gigaamp
    • Gigaamps
    • Gigaampere
    • Gigaamperes
  • MA
    • Megaamp
    • Megaamps
    • Megaampere
    • Megaamperes
  • kA
    • Kiloamp
    • Kiloamps
    • Kiloampere
    • Kiloamperes
  • HA
    • Hectoamp
    • Hectoamps
    • Hectoampere
    • Hectoamperes
  • DaA
    • Decaamp
    • Decaamps
    • Decaampere
    • Decaamperes
  • dA
    • Deciamp
    • Deciamps
    • Deciampere
    • Deciamperes
  • CA
    • Centiamp
    • Centiamps
    • Centiampere
    • Centiamperes
  • MA
    • Milliamp
    • Milliamps
    • Milliampere
    • Milliamperes
  • µA
    • Microamp
    • Microamps
    • Microampere
    • Microamperes
  • NA
    • Nanoamp
    • Nanoamps
    • Nanoampere
    • Nanoamperes
  • PA
    • Picoamp
    • Picoamps
    • Picoampere
    • Picoamperes
  • fA
    • Femtoamp
    • Femtoamps
    • Femtoampere
    • Femtoamperes
  • aA
    • Attoamp
    • Attoamps
    • Attoampere
    • Attoamperes
  • zA
    • Zeptoamp
    • Zeptoamps
    • Zeptoampere
    • Zeptoamperes
  • YA
    • Yoctoamp
    • Yoctoamps
    • Yoctoampere
    • Yoctoamperes

Energy

  • J
    • joule
    • Joules
  • YJ
    • Yottajoule
    • Yottajoules
  • ZJ
    • Zettajoule
    • Zettajoules
  • EJ
    • Exajoule
    • Exajoules
  • PJ
    • Petajoule
    • Petajoules
  • TJ
    • Terajoule
    • Terajoules
  • GJ
    • Gigajoule
    • Gigajoules
  • MJ
    • Megajoule
    • Megajoules
  • KJ
    • Kilojoule
    • Kilojoules
  • HJ
    • Hectojoule
    • Hectojoules
  • DaJ
    • Decajoule
    • Decajoules
  • DJ
    • Decijoule
    • Decijoules
  • cJ
    • Centijoule
    • Centijoules
  • MJ
    • Millijoule
    • Millijoules
  • µJ
    • Microjoule
    • Microjoules
  • nJ
    • Nanojoule
    • Nanojoules
  • PJ
    • Picojoule
    • Picojoules
  • FJ
    • Femtojoule
    • Femtojoules
  • aJ
    • Attojoule
    • Attojoules
  • ZJ
    • Zeptojoule
    • Zeptojoules
  • YJ
    • Yoctojoule
    • Yoctojoules
  • Wh
    • Watt hour
    • Watt hours
  • YWh
    • Yottawatt hour
    • Yottawatt hours
  • ZWh
    • Zettawatt hour
    • Zettawatt hours
  • EWh
    • Exawatt hour
    • Exawatt hours
  • PWh
    • Petawatt hour
    • Petawatt hours
  • TWh
    • Terawatt hour
    • Terawatt hours
  • GWh
    • Gigawatt hour
    • Gigawatt hours
  • MWh
    • Megawatt hour
    • Megawatt hours
  • KWh
    • Kilowatt hour
    • Kilowatt hours
  • HWh
    • Hectowatt hour
    • Hectowatt hours
  • DaWh
    • Decawatt hour
    • Decawatt hours
  • DWh
    • Deciwatt hour
    • Deciwatt hours
  • CWh
    • Centiwatt hour
    • Centiwatt hours
  • MWh
    • Milliwatt hour
    • Milliwatt hours
  • µWh
    • Microwatt hour
    • Microwatt hours
  • NWh
    • Nanowatt hour
    • Nanowatt hours
  • PWh
    • Picowatt hour
    • Picowatt hours
  • FWh
    • Femtowatt hour
    • Femtowatt hours
  • AWh
    • Attowatt hour
    • Attowatt hours
  • ZWh
    • Zeptowatt hour
    • Zeptowatt hours
  • YWh
    • Yoctowatt hour
    • Yoctowatt hours

Length

  • M
    • Meter
    • Meters
    • Metre
    • Metres
  • Ym
    • Yottameter
    • Yottameters
    • Yottametre
    • Yottametres
  • Zm
    • Zettameter
    • Zettameters
    • Zettametre
    • Zettametres
  • Em
    • Exameter
    • Exameters
    • Exametre
    • Exametres
  • Pm
    • Petameter
    • Petameters
    • Petametre
    • Petametres
  • Tm
    • Terameter
    • Terameters
    • Terametre
    • Terametres
  • Gm
    • Gigameter
    • Gigameters
    • Gigametre
    • Gigametres
  • Mm
    • Megameter
    • Megameters
    • Megametre
    • Megametres
  • Km
    • Kilometer
    • Kilometers
    • Kilometre
    • Kilometres
  • Hm
    • Hectometer
    • Hectometers
    • Hectometre
    • Hectometres
  • Dam
    • Decameter
    • Decameters
    • Decametre
    • Decametres
  • Dm
    • Decimeter
    • Decimeters
    • Decimetre
    • Decimetres
  • Cm
    • Centimeter
    • Centimeters
    • Centimetre
    • Centimetres
  • Mm
    • Millimeter
    • Millimeters
    • Millimetre
    • Millimetres
  • µm
    • Micrometer
    • Micrometers
    • Micrometre
    • Micrometres
  • Nm
    • Nanometer
    • Nanometers
    • Nanometre
    • Nanometres
  • Pm
    • Picometer
    • Picometers
    • Picometre
    • Picometres
  • Fm
    • Femtometer
    • Femtometers
    • Femtometre
    • Femtometres
  • Am
    • Attometer
    • Attometers
    • Attometre
    • Attometres
  • Zm
    • Zeptometer
    • Zeptometers
    • Zeptometre
    • Zeptometres
  • Ym
    • Yoctometer
    • Yoctometers
    • Yoctometre
    • Yoctometres
  • Ft
    • Foot
    • Feet
  • In
    • Inch
    • Inches
  • mi
    • Mile
    • Miles
  • Yd
    • Yard
    • Yards
  • M
    • Nautical mile
    • Nautical miles
    • Nmi
    • NM
  • mil
  • AU
    • Au
    • Astronomical unit
    • Astronomical units

LuminousIntensity

  • Cd
    • candela
  • Ycd
    • Yottacandela
  • Zcd
    • Zettacandela
  • Ecd
    • Exacandela
  • Pcd
    • Petacandela
  • Tcd
    • Teracandela
  • Gcd
    • Gigacandela
  • Mcd
    • Megacandela
  • Kcd
    • Kilocandela
  • Hcd
    • Hectocandela
  • Dacd
    • Decacandela
  • Dcd
    • Decicandela
  • Ccd
    • Centicandela
  • Mcd
    • Millicandela
  • µcd
    • Microcandela
  • Ncd
    • Nanocandela
  • Pcd
    • Picocandela
  • Fcd
    • Femtocandela
  • Acd
    • Attocandela
  • Zcd
    • Zeptocandela
  • Ycd
    • Yoctocandela

Mass

  • Kg
    • Kilogram
    • Kilograms
  • Yg
    • Yottagram
    • Yottagrams
  • Zg
    • Zettagram
    • Zettagrams
  • For example
    • Exagram
    • Exagrams
  • Pg
    • Petagram
    • Petagrams
  • Tg
    • Teragram
    • Teragrams
  • Gg
    • Gigagram
    • Gigagrams
  • Mg
    • Megagram
    • Megagrams
  • hg
    • Hectogram
    • Hectograms
  • dag
    • Decagram
    • Decagrams
  • G
    • Gram
    • Grams
  • Dg
    • Decigram
    • Decigrams
  • Cg
    • Centigram
    • Centigrams
  • Mg
    • Milligram
    • Milligrams
  • µg
    • Microgram
    • Micrograms
  • ng
    • Nanogram
    • Nanograms
  • Pg
    • Picogram
    • Picograms
  • Fg
    • Femtogram
    • Femtograms
  • Ag
    • Attogram
    • Attograms
  • Zg
    • Zeptogram
    • Zeptograms
  • Yg
    • Yoctogram
    • Yoctograms
  • T
    • Ton
    • Tons
    • tonne
    • Tonnes
  • Lb
    • Lbs
    • Pound
    • Pounds
  • Oz
    • Ounce
    • Ounces
  • St
    • Stone
    • Stones

Pressure

  • Pa
    • pascal
  • YPa
    • Yottapascal
  • ZPa
    • Zettapascal
  • EPa
    • Exapascal
  • PPa
    • Petapascal
  • TPa
    • Terapascal
  • GPa
    • Gigapascal
  • MPa
    • Megapascal
  • kPa
    • Kilopascal
  • HPa
    • Hectopascal
  • daPa
    • Decapascal
  • DPa
    • Decipascal
  • CPa
    • Centipascal
  • MPa
    • Millipascal
  • µPa
    • Micropascal
  • NPa
    • Nanopascal
  • PPa
    • Picopascal
  • FPa
    • Femtopascal
  • aPa
    • Attopascal
  • ZPa
    • Zeptopascal
  • YPa
    • Yoctopascal
  • Atm
    • Atmosphere
    • Atmospheres
  • Bar
  • Ybar
  • Zbar
  • Ebar
  • Pbar
  • Tbar
  • Gbar
  • Mbar
  • Kbar
  • Hbar
  • Dabar
  • Dbar
  • Cbar
  • Mbar
  • µbar
  • Nbar
  • Pbar
  • Fbar
  • abar
  • Zbar
  • Ybar
  • InHg
    • Inches of mercury
  • MmHg
    • Millimeters of mercury
    • Millimetres of mercury
    • torr
  • Psi
    • Pounds per square inch

Quantity

  • mol
    • Mole
    • moles
  • Ymol
    • Yottamole
    • Yottamoles
  • Zmol
    • Zettamole
    • Zettamoles
  • Emol
    • Examole
    • Examoles
  • Pmol
    • Petamole
    • Petamoles
  • Tmol
    • Teramole
    • Teramoles
  • Gmol
    • Gigamole
    • Gigamoles
  • Mmol
    • Megamole
    • Megamoles
  • Kmol
    • Kilomole
    • Kilomoles
  • Hmol
    • Hectomole
    • Hectomoles
  • Damol
    • Decamole
    • Decamoles
  • Dmol
    • Decimole
    • Decimoles
  • Cmol
    • Centimole
    • Centimoles
  • Mmol
    • Millimole
    • Millimoles
  • µmol
    • Micromole
    • Micromoles
  • Nmol
    • Nanomole
    • Nanomoles
  • Pmol
    • Picomole
    • Picomoles
  • Fmol
    • Femtomole
    • Femtomoles
  • amol
    • Attomole
    • Attomoles
  • Zmol
    • Zeptomole
    • Zeptomoles
  • Ymol
    • Yoctomole
    • Yoctomoles

SolidAngle

  • sr
    • Steradian
    • Steradians
  • Ysr
    • Yottasteradian
    • Yottasteradians
  • Zsr
    • Zettasteradian
    • Zettasteradians
  • Esr
    • Exasteradian
    • Exasteradians
  • Psr
    • Petasteradian
    • Petasteradians
  • Tsr
    • Terasteradian
    • Terasteradians
  • Gsr
    • Gigasteradian
    • Gigasteradians
  • Msr
    • Megasteradian
    • Megasteradians
  • Ksr
    • Kilosteradian
    • Kilosteradians
  • Hsr
    • Hectosteradian
    • Hectosteradians
  • Dasr
    • Decasteradian
    • Decasteradians
  • Dsr
    • Decisteradian
    • Decisteradians
  • Csr
    • Centisteradian
    • Centisteradians
  • Msr
    • Millisteradian
    • Millisteradians
  • µsr
    • Microsteradian
    • Microsteradians
  • Nsr
    • Nanosteradian
    • Nanosteradians
  • Psr
    • Picosteradian
    • Picosteradians
  • Fsr
    • Femtosteradian
    • Femtosteradians
  • Asr
    • Attosteradian
    • Attosteradians
  • Zsr
    • Zeptosteradian
    • Zeptosteradians
  • Ysr
    • Yoctosteradian
    • Yoctosteradians

Temperature

  • K
    • °K
    • kelvin
  • YK
    • Yottakelvin
  • ZK
    • Zettakelvin
  • EK
    • Exakelvin
  • PK
    • Petakelvin
  • TK
    • Terakelvin
  • GK
    • Gigakelvin
  • MK
    • Megakelvin
  • KK
    • Kilokelvin
  • HK
    • Hectokelvin
  • daK
    • Decakelvin
  • dK
    • Decikelvin
  • CK
    • Centikelvin
  • MK
    • Millikelvin
  • µK
    • Microkelvin
  • NK
    • Nanokelvin
  • PK
    • Picokelvin
  • FK
    • Femtokelvin
  • aK
    • Attokelvin
  • ZK
    • Zeptokelvin
  • YK
    • Yoctokelvin
  • °C
    • C
    • Celsius
  • °F
    • F
    • Fahrenheit
  • °R
    • R
    • rankine
  • °De
    • De
    • delisle
  • °N
    • N
    • newton
  • °Ré
    • °Re
    • Re
    • Réaumur
    • Reaumur
  • °Rø
    • °Ro
    • Ro
    • Rømer
    • romer

Time

  • S
    • Sec
    • Secs
    • Second
    • Seconds
  • Ys
    • Yottasec
    • Yottasecs
    • Yottasecond
    • Yottaseconds
  • Zs
    • Zettasec
    • Zettasecs
    • Zettasecond
    • Zettaseconds
  • Es
    • Exasec
    • Exasecs
    • Exasecond
    • Exaseconds
  • Ps
    • Petasec
    • Petasecs
    • Petasecond
    • Petaseconds
  • Ts
    • Terasec
    • Terasecs
    • Terasecond
    • Teraseconds
  • Gs
    • Gigasec
    • Gigasecs
    • Gigasecond
    • Gigaseconds
  • Ms
    • Megasec
    • Megasecs
    • Megasecond
    • Megaseconds
  • Ks
    • Kilosec
    • Kilosecs
    • Kilosecond
    • Kiloseconds
  • Hs
    • Hectosec
    • Hectosecs
    • Hectosecond
    • Hectoseconds
  • Das
    • Decasec
    • Decasecs
    • Decasecond
    • Decaseconds
  • Ds
    • Decisec
    • Decisecs
    • Decisecond
    • Deciseconds
  • Cs
    • Centisec
    • Centisecs
    • Centisecond
    • Centiseconds
  • Ms
    • Millisec
    • Millisecs
    • Millisecond
    • Milliseconds
  • µs
    • Microsec
    • Microsecs
    • Microsecond
    • Microseconds
  • Ns
    • Nanosec
    • Nanosecs
    • Nanosecond
    • Nanoseconds
  • Ps
    • Picosec
    • Picosecs
    • Picosecond
    • Picoseconds
  • Fs
    • Femtosec
    • Femtosecs
    • Femtosecond
    • Femtoseconds
  • As
    • Attosec
    • Attosecs
    • Attosecond
    • Attoseconds
  • Zs
    • Zeptosec
    • Zeptosecs
    • Zeptosecond
    • Zeptoseconds
  • Ys
    • Yoctosec
    • Yoctosecs
    • Yoctosecond
    • Yoctoseconds
  • M
    • Min
    • mins
    • Minute
    • Minutes
  • H
    • Hr
    • Hrs
    • Hour
    • Hours
  • D
    • Day
    • Days
  • W
    • Wk
    • Wks
    • Week
    • Weeks
  • Yr
    • Year
    • Years
    • gregorian year
    • gregorian years
  • Decade
    • Decades
  • Century
    • Centuries
  • Millennium
    • Millennia
  • Jyr
    • julian year
    • julian years

Velocity

  • M/s
    • Meters/sec
    • Meters per second
    • Meter per second
    • Metres per second
    • Metre per second
  • Km/h
    • Km/hour
    • Kilometer per hour
    • Kilometers per hour
    • Kilometre per hour
    • Kilometres per hour
  • Ft/s
    • Feet/sec
    • Feet per second
  • Mph
    • Miles/hour
    • Miles per hour
  • Knot
    • Knots

Volume

  • M^3
    • Cubic meter
    • Cubic meters
    • Cubic metre
    • Cubic metres
  • Mm^3
    • Mm³
    • Cubic millimeter
    • Cubic millimeters
    • Cubic millimetre
    • Cubic millimetres
  • Cm^3
    • Cm³
    • Cubic centimeter
    • Cubic centimeters
    • Cubic centimetre
    • Cubic centimetres
  • Dm^3
    • Dm³
    • Cubic decimeter
    • Cubic decimeters
    • Cubic decimetre
    • Cubic decimetres
  • Km^3
    • Km³
    • Cubic kilometer
    • Cubic kilometers
    • Cubic kilometre
    • Cubic kilometres
  • Ft^3
    • Ft³
    • Cubic foot
    • Cubic feet
  • In^3
    • In³
    • Cubic inch
    • Cubic inches
  • Yd^3
    • Yd³
    • Cubic yard
    • Cubic yards
  • Ml
    • Milliliter
    • Milliliters
    • Millilitre
    • Millilitres
  • Cl
    • Centiliter
    • Centiliters
    • Centilitre
    • Centilitres
  • Dl
    • Deciliter
    • Deciliters
    • Decilitre
    • Decilitres
  • L
    • Liter
    • Liters
    • Litre
    • Litres
  • dal
    • Decaliter
    • Decaliters
    • Decalitre
    • Decalitres
  • Hl
    • Hectoliter
    • Hectoliters
    • Hectolitre
    • Hectolitres
  • Cup
    • Cup
    • Cups
  • Tsp
    • Teaspoon
    • Teaspoons
  • Tbsp
    • Tablespoon
    • Tablespoons
  • Gal
    • Gallon
    • Gallons
    • Us gal
  • Qt
    • Quart
    • Quarts
    • Qts
    • Liq qt
  • Fl oz
    • Fluid ounce
    • Fluid ounces
    • Fluid oz
    • Fl. Oz.
    • Oz. Fl.
  • Pt
    • Pint
    • Pints
    • Liq pt

Brought to you by nystudio107