How to compute tax amount from final price

is there a way to compute tax from my declared price
i have a soap that sells for $13, lets say my tax is 10% so my VAT should read $1.3

(tax_inclusive) / (1+tax_percentage) = price_excl_tax.

In your case, tax=0.1(10%), $13 is tax_included, so the actual_tax is $1.182
$11.82+$1.18(tax) = $13

where should i put that?

1 Like