Mathematica allows you to do arithmetic not only with symbols and numbers, but also with units. Mathematica's integration with Wolfram|Alpha allows for a sophisticated unit system that combines the flexibility of free-form linguistics with the computational power of numerical and symbolic algorithms. The units framework integrates seamlessly with visualization, numeric, and symbolic functions.


Unit and Quantity Input

Quantity represents a value associated with a unit

ThreadDepth ▪ TargetUnits

Quantity Components

QuantityMagnitude give the value associated with a quantity

QuantityUnit give the unit associated with a quantity

UnitDimensions give the associated physical dimensions

IndependentUnit ▪ QuantityForm ▪ QuantityQ

Unit Conversion

UnitConvert convert between different units and unit systems

CompatibleUnitQ test whether multiple quantities are compatible

CommonUnits convert a list of quantities to a common unit

UnitSimplify convert to simpler units

New to Mathematica? Find your learning path »
Have a question? Ask support »