This helped me with a similar issue
"We're working in a 1.9 & PHP 7; detected this issue with paypal suspect fraud (due the difference amount).
All correct in front-end (apply taxes); but in checkout and calculation, Magento uses the grand total without taxes.
Actual wrong order calculation:
Product price without taxes + shipping with taxes = total amount to payment
Switch to PHP5 and calculation is correct.
Some idea?
Thanks!"
"On Magento 1.6.2 and PHP 7.0.2 I solved it this way:"
1 - Created first a local config.xml
: Copied /app/code/core/Mage/Sales/etc/config.xml
into /app/code/local/Mage/Sales/etc/config.xml
2 - Changed it like this enter image description here
Now it calculates correctly:
The correct way to do that is creating a NEW module with the new configuration like this one on https://github.com/hartmut-co-uk/magento-php7-totals-fix
To avoid editing core files.
All credits thanks to => original source
you can managed this settign from admin
Go to admin>System>Configuration>Sales>Tax>Shopping Cart Display Settings
make Display Subtotal=Excluding Tax
enter image description here
you can managed tax display setting on cart page,from here :
admin>System>Configuration>Sales>Tax>Shopping Cart Display Setting
===================================================================
How to do this (programatically)....
Under {magento_base}/app/design/frontend/base/default/template/tax/checkout/
Edit file grandtotal.phtml
(I suggest you make a backup of the file just in case).
Find the line:
<?php if ($this->includeTax() && $this->getTotalExclTax()>=0):?>
Delete the subsequent lines:
<tr>
<td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
<strong><?php echo $this->helper('tax')->__('Grand Total Excl. Tax')?></strong>
</td>
<td style="<?php echo $this->getStyle() ?>" class="a-right">
<strong><?php echo $this->helper('checkout')->formatPrice($this->getTotalExclTax()) ?></strong>
</td>
</tr>
This change means it will now only show the tax inclusive line in the cart review.
Best Answer
This will get you your carts subtotal:
This will get your your carts grand total: