Abnormal Capital Investment

Calculate the abnormal capital investment of Titman, Wei and Xie (2004): how far a company’s capital expenditure relative to its sales lies above its average of the three years before.

Titman, Wei and Xie find that companies that raise their capital investment well above its usual level earn lower returns over the following years, more so when they have more cash flow and less debt: investors underreact to managers who build empires with the shareholders’ money. Scaling by sales and comparing with the company’s own past takes out the differences in capital intensity between industries.

CE is the capital expenditure over revenue and CE(t-k) its value k years earlier (4k quarters with quarterly data). A revenue or an average of the three earlier years of zero or less gives NaN.

The formula is as follows:

\[\text{CE} = \frac{\left\lvert \text{Capital Expenditure}\right\rvert}{\text{Revenue}}\] \[\text{Abnormal Capital Investment} = \frac{\text{CE}}{\frac{\text{CE}_{t-1} + \text{CE}_{t-2} + \text{CE}_{t-3}}{3}} - 1\]

Also known as: abnormal capital expenditure, abnormal investment, CI.

Example · AAPL, MSFT, META, XOM · 2018 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_abnormal_capital_investment:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT", "META", "XOM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2018-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_abnormal_capital_investment()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How far did the capital expenditure of Apple, Microsoft, Meta and ExxonMobil, relative to sales, lie above its average of the three years before, from 2018 to 2025?

Which returns:

Parameters

get_abnormal_capital_investment accepts the following parameters.

ParameterTypeDescriptionExample
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the ratios. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
compoundboolWhether 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
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
trailingint | NoneThe number of periods the capital expenditure and revenue are summed over. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses a year: the trailing 4 quarters with quarterly data, compared with the trailing years ending 4, 8 and 12 quarters earlier.4
transformstr | list[str] | NoneTime 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_columnsstr | list[str] | NoneThe 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 Titman, S., K. C. J. Wei and F. Xie (2004). “Capital Investments and Stock Returns.” Journal of Financial and Quantitative Analysis, 39(4), 677-700.
Share