I have the following tax setting now

  • Subtotal: $10.00
  • Shipping & Handling: $5.00
  • Tax (at the moment just using 10% of Subtotal) (10%):$1.00
  • Grand Total: $16.00

And I want it like :

  • Subtotal: $10.00
  • Shipping & Handling: $5.00

  • Tax (need it to be 10% of subtotal [which is working] AND 10% of 54% of shipping & Handling) (10%): $1.27 [$1 as 10% of subtotal and $0.27 for $2.70(which is 54% of $5.00 shipping cost) ]

  • Grand Total: $16.27

Thank you,


Well, 5% is the same as 10% of 50% so just set a tax rate of 5% for shipping.

You can set the tax class for shipping under System -> Configuration -> Tax -> Tax Class -> Tax Class for Shipping

| improve this answer | |
  • the above mentioned data is sample for better understanding. - Shipping charges will be different every time. and I have already set the class "shipping" and it is working as well. But I need percentage of tax on percentage of shipping charges. – Vij Aug 31 '16 at 7:13
  • @Vijay you mean the tax rate (%) for shipping will be different every time? Or the actual shipping amount? If the tax rate varies, does it vary on country/state etc, or some other variable? – BlueC Aug 31 '16 at 7:34
  • thanks for the idea. I was not checking it mathematically. I need to apply tax on 54% of shipping amount. I have updated the question as well. yes doing mathematically percentage and apply to shipping tax class may work. – Vij Aug 31 '16 at 7:58
  • and tax rate varies for just couple of states, which I am managing from tax rules. and tax percentage may varies from few orders, so I have to think for customization on tax code as well. Do you have any idea how I can achieve the same with tax module customization? – Vij Aug 31 '16 at 8:01
  • 10% of 54% of the shipping cost is just 5.4% of the shipping cost, so this can be handled easily. Using a combination of the standard Magento tax customisations you should be able to achieve what you want: create the shipping tax class, assign it as the tax class for shipping, set the tax rates per country/state/zip and then set the tax rules. I don't see that it needs any customisation. – BlueC Aug 31 '16 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.