CFDI Calculator — Net ⇄ Subtotal (VAT + Withholdings)
Calculate subtotal and breakdown for invoices with 16% VAT, 10% Income Tax withheld and 2/3 VAT Retention (10.666...%).
Includes algebraic mode and line rounding method (Goal Seek).
Parameters
Amount that was deposited to you (already with withholdings applied).
If you want to calculate from a known subtotal, enter it and press "Calculate from Subtotal".
VAT, Income Tax withheld, and VAT retention fraction (2/3 = 0.66666...)
Note: "Direct formula" uses the algebraic equation without intermediate rounding.
"Goal Seek" adjusts the subtotal until the calculated net amount (with rounding) matches the target net amount.
Result
Subtotal
-
VAT charged
-
Income Tax withheld
-
VAT Retention (2/3)
-
Calculated net
-
View steps / log
Steps will appear here if you check "Show detailed steps".
Quick notes
Invoicing software usually rounds each tax to 2 decimal places per line; that's why the difference with the continuous formula.
The algebraic formula is useful as a first approximation. Goal Seek/Seeker corrects the subtotal so the net amount balances exactly when applying rounding.
You can adjust the rates at the top if rules change or if you work with a different withholding percentage.