# Calculate the taxes for driving different cars (in Martorell, Spain)

Driving a car means having to pay a certain amount of taxes, that is different in each town. The parameters that settle these taxes also change depending on the type of vehicle. In tourism cars and in tractors, the value depends on the amount of tax horsepower.

Formula used to calculate spanish tax horsepower

$Fiscal Power = 0.08*(0.785*D^2*R)^{0.6}*N$

Where

• D = cylinder diameter in cm
• R = piston stroke in cm
• N = Number of cilinders