How to create taxes based on custom fields instead of total

How to create taxes based on custom fields instead of total

Hi,
It seems that in all Zoho products, taxes are systematically a percentage based on the product price.
However, taxes on products like alcohol are based on the volume of alcohol in a bottle.
Example : 
- A bottle of 1L contains 20% of alcohol.
- The volume of acohol for this product is typed into a custom field, but I am not able to generate the corresponding tax which is a formula like (1*20*0.015).

I have tried to do it making the calculation via formula custom fields, but then the calculated field will not be considered as a tax, so the result will not be added in the total. 

Any idea of how I configure such taxes ? 
Regards