how to convert metric to standard formula