The Wolfram Language allows you to do arithmetic not only with symbols and numbers, but also with units. The Wolfram Language'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

(Ctrl+) enter quantities and units, using free-form linguistics

Quantity the value of a physical quantity with units included

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

Physical Quantities

QuantityVariable a variable representing a physical quantity (e.g. for mass)

QuantityVariableIdentifier  ▪  QuantityVariablePhysicalQuantity

FormulaData common scientific formulas involving physical quantities

Dimensional Analysis

DimensionalCombinations possible combinations of dimensional physical quantities

QuantityVariableDimensions  ▪  QuantityVariableCanonicalUnit

Currency Units

CurrencyConvert convert between currencies, using real-time data

DatedUnit  ▪  InflationAdjust