Tax to Book Income Ratio
Calculate the taxable income to book income ratio of Lev and Nissim (2004): the income a company reports to the tax authority against the net income it reports to shareholders.
Managers have more room to raise the book income than the taxable income, so a low ratio points to earnings that rest on accounting choices. Lev and Nissim find that the ratio predicts earnings growth and returns.
The formula is as follows:
\[\text{Taxable Income} = \frac{\text{Income Tax Expense} - \text{Deferred Income Tax}}{\text{Statutory Tax Rate}}\] \[\text{Tax to Book Income} = \frac{\text{Taxable Income}}{\text{Net Income}}\]The current tax expense, the income tax expense without its deferred part (the deferred income tax of the cash flow statement), is grossed up by the statutory rate to estimate the taxable income. A net income of zero or less gives NaN.
- Lev, B. and D. Nissim (2004). “Taxable Income, Future Earnings, and Equity Values.” The Accounting Review, 79(4), 1039-1074.
Also known as: tax-to-book income ratio, taxable income to book income, Tax.
Example · AAPL, MSFT, KO, XOM · 2021 to 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_tax_to_book_income_ratio:
from financetoolkit import Toolkit
toolkit = Toolkit(
["AAPL", "MSFT", "KO", "XOM"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.ratios.get_tax_to_book_income_ratio()
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
How did the taxable income of Apple, Microsoft, Coca-Cola and ExxonMobil compare with the net income they reported to shareholders from 2021 to 2025?
Which returns:
| Item | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|
| AAPL | 0.9707 | 0.8782 | 0.8219 | 1.5113 | 0.8808 |
| KO | 0.8417 | 1.1164 | 1.0005 | 1.0965 | 0.8516 |
| MSFT | 0.7757 | 1.0920 | 1.5142 | 1.3177 | 1.3491 |
| XOM | 1.5156 | 1.4026 | 1.9565 | 2.0749 | 1.8992 |
4 rows
Parameters
get_tax_to_book_income_ratio accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
statutory_tax_rate | float | The statutory corporate income tax rate, as a decimal. Defaults to 0.21 (the US federal rate since 2018). | |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the ratios. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
compound | bool | Whether the growth is the compound annual growth rate over the lag (e.g. lag=5 for the five-year CAGR) instead of the total change. Defaults to False. | False |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |
trailing | int | The number of periods to sum the flows over, e.g. 3 with annual data for a three-year cumulative allocation. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses single-period flows. | 4 |
transform | str | list[str] | None | Time series steps applied in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott), before growth. A window needs that many periods of history, so the first periods can be empty. Defaults to None. | None |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
References
- Paper Lev, B. and D. Nissim (2004). “Taxable Income, Future Earnings, and Equity Values.” The Accounting Review, 79(4), 1039-1074.