Subtraction and Multiplication in Value Template confusion

Hi everyone - I’m struggling to get my head around creating a Value Template based on some sensor value maths. I want to show the current cost to fill up the car based on todays fuel cost per litre.

I currently have the following Sensors and values:

sensor.mqtt_tank_size = 50
sensor.m135i_xdrive_remaining_fuel = 23
sensor.mqtt_fuel_price_current = 145.7 (a litre!)

sensor.mqtt_tank_size - sensor.m135i_xdrive_remaining_fuel * sensor.mqtt_fuel_price_current = 50-23 = 27 * 145.7 = 3,933.9 (or £39.33)

With the following:

{{states('sensor.mqtt_tank_size') |float - states('sensor.m135i_xdrive_remaining_fuel')| float * states('sensor.mqtt_fuel_price_current') | float}}

I get -3301.1 which is confusing the heck out of me, where am ai going wrong ?

Thanks

If anyone come this way the working answer is:

{{(states('sensor.mqtt_tank_size') | float - states('sensor.m135i_xdrive_remaining_fuel')| float) * states('sensor.mqtt_fuel_price_current') | float/100}}