---
title: GNU Units
slug: gnu-units
qid: 
snapshot: enwiki-001356321898
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1356321898
tags: [20163774, 20226187, 23139800, 23556908, 26898194, 28081657, 31503861, 9567816, 9620104]
---

# GNU Units

> [!note] Provenance
> Snapshot `enwiki-001356321898` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1356321898> · Licensed CC BY-SA 4.0

GNU Units is a cross-platform computer program for conversion of units of quantities. It has a database of measurement units, including esoteric and historical units. This for instance allows conversion of velocities specified in furlongs per fortnight, and pressures specified in tons per acre. Output units are checked for consistency with the input, allowing verification of conversion of complex expressions.

GNU Units is a cross-platform computer program for conversion of units of quantities. It has a database of measurement units, including esoteric and historical units. This for instance allows conversion of velocities specified in furlongs per fortnight, and pressures specified in tons per acre. Output units are checked for consistency with the input, allowing verification of conversion of complex expressions. C:\>units "ten furlongs per fortnight" "kilometers per hour" * 0.0059871429 / 167.02458 % units cup ounces conformability error 0.00023658824 m^3 0.028349523 kg \Delta P = \frac {8} {\pi^2} \rho fL \frac {Q^2} {d^5} \,, where ΔP is the pressure drop, ρ is the mass density, f is the (dimensionless) friction factor, L is the length of the pipe, Q is the volumetric flow rate, and d is the pipe diameter. It might be desirable to have the equation in the form \Delta P = A_1 \,\rho fL \frac {Q^2} {d^5} that would accept typical US units; the constant A 1 could be determined manually using the unit-factor method, but it could be determined more quickly and easily using units: $ units "(8/pi^2)(lbm/ft^3)ft(ft^3/s)^2(1/in^5)" psi * 43.533969 / 0.022970568 Crane Technical Paper No. 410, Eq.&nbsp;3-5, gives the multiplicative value as 43.5.
