Calculate the capex per share, a valuation ratio that measures the amount of capital expenditures made per outstanding share of a company’s stock.

The capex per share ratio provides insight into how much capital a company invests in its operations and growth initiatives relative to its shareholder base. It can help investors assess the level of reinvestment into the business.

The formula is as follows:

\[\text{CAPEX per Share} = \text{Capital Expenditure} / \text{Weighted Average} (\text{Diluted}) \text{Shares}\]

Also known as: capital expenditure per share.

CAPEX per Share in Python

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_capex_per_share as shown below.

from financetoolkit import Toolkit

toolkit = Toolkit(["AAPL", "TSLA"], api_key="FINANCIAL_MODELING_PREP_KEY")

capex_per_share = toolkit.ratios.get_capex_per_share()

Which returns:

  2021 2022 2023 2024 2025
AAPL -0.6573 -0.6559 -0.6931 -0.6131 -0.8474
TSLA -2.3668 -2.0639 -2.5552 -3.2424 -2.417

Parameters

The function accepts the following parameters:

  • diluted (bool, optional): Whether to use diluted shares in the calculation. Defaults to True.
  • rounding (int, optional): The number of decimals to round the results to. Defaults to 4.
  • growth (bool, optional): Whether to calculate the growth of the ratios. Defaults to False.
  • lag (int | str, optional): The lag to use for the growth calculation. Defaults to 1.
  • standardize (bool, optional): Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.
  • trailing (int): Defines whether to select a trailing period. E.g. when selecting 4 with quarterly data, the TTM is calculated.
Share