Physical quantities with arbitrary units

First Commit


Last Touched

19 days ago

Commit Count

308 commits


Build Status Coverage Status codecov.io


Unitful is a Julia package for physical units. We want to support not only SI units but also any other unit system. We also want to minimize or in some cases eliminate the run-time penalty of units. There should be facilities for dimensional analysis. All of this should integrate easily with the usual mathematical operations and collections that are found in Julia base.


Stable and latest versions available.

Other packages in the Unitful family

  • UnitfulUS.jl: Adds U.S. customary units. Serves as an example for how to implement a units package.
  • UnitfulIntegration.jl: Enables use of Unitful quantities with QuadGK.jl. PRs for other integration packages are welcome.

Related packages

Unitful was inspired by: