The absolute error is equal to the absolute value of the difference between the exact value and the approximated value:
ε = | Vexact - Vapprox |
The percent error is equal to the 100% times the absolute error divided by the exact value:
δ = 100% × | Vexact - Vapprox | / | Vexact |