# Units

TOP

Nano can be represented using more than one unit of measurement. While the most common unit is the $nano$, the smallest unit is the $raw$. Below is the formula for converting between $raw$ and $nano$.

$1 nano = 10^{30} raw$

All RPC commands expect units to be represented as $raw$.

Depending on your implementation language, you may require a big number library to perform arithmetic directly on $raw$.

Always keep units in integer $raw$ amounts to prevent any floating-point error or unit confusion.