Skills › Financial Services › 3-statement-model › formulas.md
formulas.md
292 lines · plugins/vertical-plugins/financial-analysis/skills/3-statement-model/references/formulas.md at 6056506
1# Formula Reference
3**IMPORTANT:** Use the formulas outlined in this reference document unless otherwise specified by the user.
5---
Formula Reference
IMPORTANT: Use the formulas outlined in this reference document unless otherwise specified by the user.
Raw lines 1 to 6
7## Core Linkages
9```
10Balance Sheet: Assets = Liabilities + Equity
11Net Income: IS Net Income → CF Operations (starting point)
12Cash Flow: ΔCash = CFO + CFI + CFF
13Cash Tie-Out: Ending Cash (CF) = Cash (BS Asset)
14Cash Monthly/Annual: Closing Cash (Monthly) = Closing Cash (Annual)
15Retained Earnings: Prior RE + Net Income - Dividends = Ending RE
16Equity Raise: ΔCommon Stock/APIC (BS) = Equity Issuance (CFF)
17Year 0 Equity: Equity Raised (Year 0) = Beginning Equity (Year 1)
18```
Core Linkages
Balance Sheet: Assets = Liabilities + Equity
Net Income: IS Net Income → CF Operations (starting point)
Cash Flow: ΔCash = CFO + CFI + CFF
Cash Tie-Out: Ending Cash (CF) = Cash (BS Asset)
Cash Monthly/Annual: Closing Cash (Monthly) = Closing Cash (Annual)
Retained Earnings: Prior RE + Net Income - Dividends = Ending RE
Equity Raise: ΔCommon Stock/APIC (BS) = Equity Issuance (CFF)
Year 0 Equity: Equity Raised (Year 0) = Beginning Equity (Year 1)Raw lines 7 to 1920## Gross Profit Calculation
22**IMPORTANT:** Gross Profit must be calculated from Net Revenue, not Gross Revenue.
24```
25Net Revenue - Cost of Revenue = Gross Profit
26```
28| Term | Definition |
29|------|------------|
30| Gross Revenue | Total revenue before any deductions |
31| Net Revenue | Gross Revenue - Returns - Allowances - Discounts |
32| Cost of Revenue | Direct costs attributable to production of goods/services sold |
33| Gross Profit | Net Revenue - Cost of Revenue |
35**Note:** Always use Net Revenue (also called "Net Sales" or simply "Revenue" on most financial statements) as the starting point for profitability calculations. Gross Revenue overstates the true top-line performance.
Gross Profit Calculation
IMPORTANT: Gross Profit must be calculated from Net Revenue, not Gross Revenue.
Net Revenue - Cost of Revenue = Gross Profit| Term | Definition |
|---|---|
| Gross Revenue | Total revenue before any deductions |
| Net Revenue | Gross Revenue - Returns - Allowances - Discounts |
| Cost of Revenue | Direct costs attributable to production of goods/services sold |
| Gross Profit | Net Revenue - Cost of Revenue |
Note: Always use Net Revenue (also called "Net Sales" or simply "Revenue" on most financial statements) as the starting point for profitability calculations. Gross Revenue overstates the true top-line performance.
Raw lines 20 to 3637## Margin Formulas
39```
40Gross Margin % = Gross Profit / Net Revenue
41EBITDA = EBIT + D&A (or = Gross Profit - OpEx)
42EBITDA Margin % = EBITDA / Net Revenue
43EBIT Margin % = EBIT / Net Revenue
44Net Income Margin % = Net Income / Net Revenue
45```
Margin Formulas
Gross Margin % = Gross Profit / Net Revenue
EBITDA = EBIT + D&A (or = Gross Profit - OpEx)
EBITDA Margin % = EBITDA / Net Revenue
EBIT Margin % = EBIT / Net Revenue
Net Income Margin % = Net Income / Net RevenueRaw lines 37 to 4647## Credit Metric Formulas
49```
50Total Debt = Current Portion of Debt + Long-Term Debt
51Net Debt = Total Debt - Cash
52Total Debt / EBITDA = Total Debt / EBITDA (from IS)
53Net Debt / EBITDA = Net Debt / EBITDA (from IS)
54Interest Coverage = EBITDA / Interest Expense (from IS)
55Net Int Exp % Debt = Net Interest Expense / Long-Term Debt
56Debt / Total Cap = Total Debt / (Total Debt + Total Equity)
57Debt / Equity = Total Debt / Total Equity
58Current Ratio = Total Current Assets / Total Current Liabilities
59Quick Ratio = (Total Current Assets - Inventory) / Total Current Liabilities
60```
Credit Metric Formulas
Total Debt = Current Portion of Debt + Long-Term Debt
Net Debt = Total Debt - Cash
Total Debt / EBITDA = Total Debt / EBITDA (from IS)
Net Debt / EBITDA = Net Debt / EBITDA (from IS)
Interest Coverage = EBITDA / Interest Expense (from IS)
Net Int Exp % Debt = Net Interest Expense / Long-Term Debt
Debt / Total Cap = Total Debt / (Total Debt + Total Equity)
Debt / Equity = Total Debt / Total Equity
Current Ratio = Total Current Assets / Total Current Liabilities
Quick Ratio = (Total Current Assets - Inventory) / Total Current LiabilitiesRaw lines 47 to 6162## Forecast Formulas (% of Net Revenue Method)
64```
65Cost of Revenue (Forecast) = Net Revenue × Cost of Revenue % Assumption
66S&M (Forecast) = Net Revenue × S&M % Assumption
67G&A (Forecast) = Net Revenue × G&A % Assumption
68R&D (Forecast) = Net Revenue × R&D % Assumption
69SBC (Forecast) = Net Revenue × SBC % Assumption
70```
Forecast Formulas (% of Net Revenue Method)
Cost of Revenue (Forecast) = Net Revenue × Cost of Revenue % Assumption
S&M (Forecast) = Net Revenue × S&M % Assumption
G&A (Forecast) = Net Revenue × G&A % Assumption
R&D (Forecast) = Net Revenue × R&D % Assumption
SBC (Forecast) = Net Revenue × SBC % AssumptionRaw lines 62 to 7172## Working Capital Formulas
74```
75Accounts Receivable
76 Prior AR
77 + Revenue (from IS)
78 - Cash Collections (plug)
79 = Ending AR
80 DSO = (AR / Revenue) × 365
82Inventory
83 Prior Inventory
84 + Purchases (plug)
85 - COGS (from IS)
86 = Ending Inventory
87 DIO = (Inventory / COGS) × 365
89Accounts Payable
90 Prior AP
91 + Purchases (from Inventory calc)
92 - Cash Payments (plug)
93 = Ending AP
94 DPO = (AP / COGS) × 365
96Net Working Capital = AR + Inventory - AP
97ΔWC = Current NWC - Prior NWC
98```
Working Capital Formulas
Accounts Receivable
Prior AR
+ Revenue (from IS)
- Cash Collections (plug)
= Ending AR
DSO = (AR / Revenue) × 365
Inventory
Prior Inventory
+ Purchases (plug)
- COGS (from IS)
= Ending Inventory
DIO = (Inventory / COGS) × 365
Accounts Payable
Prior AP
+ Purchases (from Inventory calc)
- Cash Payments (plug)
= Ending AP
DPO = (AP / COGS) × 365
Net Working Capital = AR + Inventory - AP
ΔWC = Current NWC - Prior NWCRaw lines 72 to 99100## D&A Schedule Formulas
102```
103Beginning PP&E (Gross)
104+ CapEx
105= Ending PP&E (Gross)
107Beginning Accumulated Depreciation
108+ Depreciation Expense
109= Ending Accumulated Depreciation
111PP&E (Net) = Gross PP&E - Accumulated Depreciation
112```
D&A Schedule Formulas
Beginning PP&E (Gross)
+ CapEx
= Ending PP&E (Gross)
Beginning Accumulated Depreciation
+ Depreciation Expense
= Ending Accumulated Depreciation
PP&E (Net) = Gross PP&E - Accumulated DepreciationRaw lines 100 to 113114## Debt Schedule Formulas
116```
117Beginning Debt Balance
118+ New Borrowings
119- Repayments
120= Ending Debt Balance
122Interest Expense = Avg Debt Balance × Interest Rate
123 (Use beginning balance to avoid circularity, or iterate if circular refs enabled)
124```
Debt Schedule Formulas
Beginning Debt Balance
+ New Borrowings
- Repayments
= Ending Debt Balance
Interest Expense = Avg Debt Balance × Interest Rate
(Use beginning balance to avoid circularity, or iterate if circular refs enabled)Raw lines 114 to 125126## Retained Earnings Formula
128```
129Beginning Retained Earnings
130+ Net Income (from IS)
131+ Stock-Based Compensation (SBC) (from IS)
132- Dividends
133= Ending Retained Earnings
134```
Retained Earnings Formula
Beginning Retained Earnings
+ Net Income (from IS)
+ Stock-Based Compensation (SBC) (from IS)
- Dividends
= Ending Retained EarningsRaw lines 126 to 135136## NOL (Net Operating Loss) Schedule Formulas
138```
139NOL CARRYFORWARD SCHEDULE
141Beginning NOL Balance (Year 1 / Formation = 0)
142+ NOL Generated (if EBT < 0, then ABS(EBT), else 0)
143- NOL Utilized (limited by taxable income and utilization cap)
144= Ending NOL Balance
146STARTING BALANCE RULE
148For a new business or first modeled period:
149 Beginning NOL Balance = 0
150 NOL can only increase through realized losses (EBT < 0)
151 NOL cannot be created from thin air or assumed
153NOL UTILIZATION CALCULATION
155Pre-Tax Income (EBT)
156 If EBT > 0:
157 NOL Available = Beginning NOL Balance
158 Utilization Limit = EBT × 80% (post-2017 federal limit)
159 NOL Utilized = MIN(NOL Available, Utilization Limit)
160 Taxable Income = EBT - NOL Utilized
161 If EBT ≤ 0:
162 NOL Utilized = 0
163 Taxable Income = 0
164 NOL Generated = ABS(EBT)
166TAX CALCULATION WITH NOL
168Taxes Payable = MAX(0, Taxable Income × Tax Rate)
169 (Taxes cannot be negative; losses create NOL asset instead)
171DEFERRED TAX ASSET (DTA) FOR NOL
173DTA - NOL Carryforward = Ending NOL Balance × Tax Rate
174ΔDTA = Current DTA - Prior DTA
175 (Increase in DTA = non-cash benefit on CF)
176 (Decrease in DTA = non-cash expense on CF)
177```
NOL (Net Operating Loss) Schedule Formulas
NOL CARRYFORWARD SCHEDULE
Beginning NOL Balance (Year 1 / Formation = 0)
+ NOL Generated (if EBT < 0, then ABS(EBT), else 0)
- NOL Utilized (limited by taxable income and utilization cap)
= Ending NOL Balance
STARTING BALANCE RULE
For a new business or first modeled period:
Beginning NOL Balance = 0
NOL can only increase through realized losses (EBT < 0)
NOL cannot be created from thin air or assumed
NOL UTILIZATION CALCULATION
Pre-Tax Income (EBT)
If EBT > 0:
NOL Available = Beginning NOL Balance
Utilization Limit = EBT × 80% (post-2017 federal limit)
NOL Utilized = MIN(NOL Available, Utilization Limit)
Taxable Income = EBT - NOL Utilized
If EBT ≤ 0:
NOL Utilized = 0
Taxable Income = 0
NOL Generated = ABS(EBT)
TAX CALCULATION WITH NOL
Taxes Payable = MAX(0, Taxable Income × Tax Rate)
(Taxes cannot be negative; losses create NOL asset instead)
DEFERRED TAX ASSET (DTA) FOR NOL
DTA - NOL Carryforward = Ending NOL Balance × Tax Rate
ΔDTA = Current DTA - Prior DTA
(Increase in DTA = non-cash benefit on CF)
(Decrease in DTA = non-cash expense on CF)Raw lines 136 to 178179## Balance Sheet Structure
181```
182ASSETS
183 Cash (from CF ending cash)
184 Accounts Receivable (from WC)
185 Inventory (from WC)
186 Total Current Assets
188 PP&E, Net (from DA)
189 Deferred Tax Asset - NOL (from NOL schedule)
190 Total Non-Current Assets
191 Total Assets
193LIABILITIES
194 Accounts Payable (from WC)
195 Current Portion of Debt (from Debt)
196 Total Current Liabilities
198 Long-Term Debt (from Debt)
199 Total Liabilities
201EQUITY
202 Common Stock
203 Retained Earnings (from RE schedule)
204 Total Equity
206CHECK: Assets - Liabilities - Equity = 0
207```
Balance Sheet Structure
ASSETS
Cash (from CF ending cash)
Accounts Receivable (from WC)
Inventory (from WC)
Total Current Assets
PP&E, Net (from DA)
Deferred Tax Asset - NOL (from NOL schedule)
Total Non-Current Assets
Total Assets
LIABILITIES
Accounts Payable (from WC)
Current Portion of Debt (from Debt)
Total Current Liabilities
Long-Term Debt (from Debt)
Total Liabilities
EQUITY
Common Stock
Retained Earnings (from RE schedule)
Total Equity
CHECK: Assets - Liabilities - Equity = 0Raw lines 179 to 208209## Cash Flow Statement Structure
211```
212CASH FROM OPERATIONS (CFO)
213 Net Income (LINK: IS)
214 + D&A (LINK: DA schedule)
215 + Stock-Based Compensation (SBC) (LINK: IS or Assumptions)
216 - ΔDTA (Deferred Tax Asset) (LINK: NOL schedule; increase in DTA = use of cash)
217 - ΔAR (LINK: WC)
218 - ΔInventory (LINK: WC)
219 + ΔAP (LINK: WC)
220 = CFO
222CASH FROM INVESTING (CFI)
223 - CapEx (LINK: DA schedule)
224 = CFI
226CASH FROM FINANCING (CFF)
227 + Debt Issuance (LINK: Debt)
228 - Debt Repayment (LINK: Debt)
229 + Equity Issuance (LINK: BS Common Stock/APIC)
230 - Dividends (LINK: RE schedule)
231 = CFF
233Net Change in Cash = CFO + CFI + CFF
234Beginning Cash
235+ Net Change in Cash
236= Ending Cash (LINK TO: BS Cash)
237```
Cash Flow Statement Structure
CASH FROM OPERATIONS (CFO)
Net Income (LINK: IS)
+ D&A (LINK: DA schedule)
+ Stock-Based Compensation (SBC) (LINK: IS or Assumptions)
- ΔDTA (Deferred Tax Asset) (LINK: NOL schedule; increase in DTA = use of cash)
- ΔAR (LINK: WC)
- ΔInventory (LINK: WC)
+ ΔAP (LINK: WC)
= CFO
CASH FROM INVESTING (CFI)
- CapEx (LINK: DA schedule)
= CFI
CASH FROM FINANCING (CFF)
+ Debt Issuance (LINK: Debt)
- Debt Repayment (LINK: Debt)
+ Equity Issuance (LINK: BS Common Stock/APIC)
- Dividends (LINK: RE schedule)
= CFF
Net Change in Cash = CFO + CFI + CFF
Beginning Cash
+ Net Change in Cash
= Ending Cash (LINK TO: BS Cash)Raw lines 209 to 238239## Income Statement Structure
241```
242Net Revenue
243 Growth %
244(-) Cost of Revenue
245 % of Net Revenue
246────────────────
247Gross Profit (= Net Revenue - Cost of Revenue)
248 Gross Margin %
250(-) S&M
251 % of Net Revenue
252(-) G&A
253 % of Net Revenue
254(-) R&D
255 % of Net Revenue
256(-) D&A
257(-) SBC
258 % of Net Revenue
259────────────────
260EBIT
261 EBIT Margin %
263EBITDA
264 EBITDA Margin %
266(-) Interest Expense
267────────────────
268EBT (Pre-Tax Income)
269(-) NOL Utilization (from NOL schedule, reduces taxable income)
270────────────────
271Taxable Income
272(-) Taxes (Taxable Income × Tax Rate)
273────────────────
274Net Income
275 Net Income Margin %
276```
Income Statement Structure
Net Revenue
Growth %
(-) Cost of Revenue
% of Net Revenue
────────────────
Gross Profit (= Net Revenue - Cost of Revenue)
Gross Margin %
(-) S&M
% of Net Revenue
(-) G&A
% of Net Revenue
(-) R&D
% of Net Revenue
(-) D&A
(-) SBC
% of Net Revenue
────────────────
EBIT
EBIT Margin %
EBITDA
EBITDA Margin %
(-) Interest Expense
────────────────
EBT (Pre-Tax Income)
(-) NOL Utilization (from NOL schedule, reduces taxable income)
────────────────
Taxable Income
(-) Taxes (Taxable Income × Tax Rate)
────────────────
Net Income
Net Income Margin %Raw lines 239 to 277278## Check Formulas
280```
281BS Balance Check: = Assets - Liabilities - Equity (must = 0)
282Cash Tie-Out: = BS Cash - CF Ending Cash (must = 0)
283RE Roll-Forward: = Prior RE + NI + SBC - Div - BS RE (must = 0)
284DTA Tie-Out: = NOL Schedule DTA - BS DTA (must = 0)
285Equity Raise Tie-Out: = ΔCommon Stock/APIC (BS) - Equity Issuance (CFF) (must = 0)
286Year 0 Equity Tie-Out: = Equity Raised (Year 0) - Beginning Equity (Year 1) (must = 0)
287Cash Monthly vs Annual: = Closing Cash (Monthly) - Closing Cash (Annual) (must = 0)
288NOL Utilization Cap: = NOL Utilized ≤ EBT × 80% (must be TRUE for post-2017)
289NOL Non-Negative: = Ending NOL Balance ≥ 0 (must be TRUE)
290NOL Starting Balance: = Beginning NOL (Year 1) = 0 (must be TRUE for new business)
291NOL Accumulation: = NOL increases only when EBT < 0 (losses generate NOL)
292```
Check Formulas
BS Balance Check: = Assets - Liabilities - Equity (must = 0)
Cash Tie-Out: = BS Cash - CF Ending Cash (must = 0)
RE Roll-Forward: = Prior RE + NI + SBC - Div - BS RE (must = 0)
DTA Tie-Out: = NOL Schedule DTA - BS DTA (must = 0)
Equity Raise Tie-Out: = ΔCommon Stock/APIC (BS) - Equity Issuance (CFF) (must = 0)
Year 0 Equity Tie-Out: = Equity Raised (Year 0) - Beginning Equity (Year 1) (must = 0)
Cash Monthly vs Annual: = Closing Cash (Monthly) - Closing Cash (Annual) (must = 0)
NOL Utilization Cap: = NOL Utilized ≤ EBT × 80% (must be TRUE for post-2017)
NOL Non-Negative: = Ending NOL Balance ≥ 0 (must be TRUE)
NOL Starting Balance: = Beginning NOL (Year 1) = 0 (must be TRUE for new business)
NOL Accumulation: = NOL increases only when EBT < 0 (losses generate NOL)Raw lines 278 to 292