Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)\]
\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)
Formula (extracted LaTeX)
\[\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )\]
\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )
Formula (extracted LaTeX)
\[\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)\]
\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)
Formula (extracted LaTeX)
\[\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}\]
\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}
Formula (extracted LaTeX)
\[\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}\]
\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}
Formula (extracted text)
\[ \textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big) \] \[ \textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} ) \] \[ \textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big) \] \[ \textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases} \] \[ \textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax} \]
Variables and units
  • T = property tax (annual or monthly depending on input) (currency)
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
, '

Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)\]
\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)
Formula (extracted LaTeX)
\[\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )\]
\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )
Formula (extracted LaTeX)
\[\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)\]
\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)
Formula (extracted LaTeX)
\[\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}\]
\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}
Formula (extracted LaTeX)
\[\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}\]
\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}
Formula (extracted text)
\[ \textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big) \] \[ \textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} ) \] \[ \textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big) \] \[ \textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases} \] \[ \textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax} \]
Variables and units
  • T = property tax (annual or monthly depending on input) (currency)
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
]], displayMath: [['\\[','\\]']] }, svg: { fontCache: 'global' } };

Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)\]
\textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big)
Formula (extracted LaTeX)
\[\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )\]
\textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} )
Formula (extracted LaTeX)
\[\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)\]
\textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big)
Formula (extracted LaTeX)
\[\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}\]
\textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases}
Formula (extracted LaTeX)
\[\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}\]
\textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax}
Formula (extracted text)
\[ \textbf{Gain} = P_{\text{sale}} - \big( B_{\text{cost}} + C_{\text{sell}} \big) \] \[ \textbf{Net Gain Before Reliefs} = \max(0,\ \text{Gain} - E_{\text{exclusions}} ) \] \[ \textbf{Taxable Gain} = \max\big(0,\ \text{Net Gain Before Reliefs} - A_{\text{allowance}} - L_{\text{losses}}\big) \] \[ \textbf{Jurisdiction Adjustments} = \begin{cases} \text{US: } \text{ST} \to t_{\text{ST}},\ \text{LT} \to t_{\text{LT}} \\ \text{UK: } t_{\text{asset,band}} \\ \text{AU: } \text{if LT} \Rightarrow 50\% \text{ discount} \\ \text{IE: } 33\% \ (\text{typical}) \\ \text{ZA: } \text{include } 40\% \text{ of gain then apply marginal rate} \end{cases} \] \[ \textbf{Tax} = \text{Taxable Gain}_{\text{(after adjustments)}} \times t \quad ; \quad \textbf{After-Tax Proceeds} = P_{\text{sale}} - \text{Tax} \]
Variables and units
  • T = property tax (annual or monthly depending on input) (currency)
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn