Revenue per Share (RPS)
Calculate the revenue per share, a valuation ratio that measures the amount of revenue generated per outstanding share of a company’s stock.
The revenue per share is an important metric that provides insight into a company’s ability to generate revenue on a per-share basis. It can help investors understand the company’s revenue-generation efficiency and its overall financial health.
The formula is as follows:
\[\text{Revenue per Share} = \text{Revenue} / \text{Weighted Average} (\text{Diluted}) \text{Shares}\]Also known as: sales per share.
Revenue per Share (RPS) in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_revenue_per_share as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
["MCK", "COR", "CAH"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.ratios.get_revenue_per_share()
Or, after setting up the Finance Toolkit MCP, ask:
How much revenue per share did McKesson, Cencora and Cardinal Health generate from 2021 to 2025?
Which returns:
| 2021 | 2022 | 2023 | 2024 | 2025 | |
|---|---|---|---|---|---|
| CAH | 552.609 | 649.914 | 782.363 | 918.328 | 919.744 |
| COR | 1026.5 | 1129.62 | 1281.45 | 1467.71 | 1646.05 |
| MCK | 1712.95 | 1945.93 | 2303.89 | 2802.9 | 3250.85 |
Parameters
get_revenue_per_share accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
diluted | bool | Whether to use diluted shares in the calculation. Defaults to True. | False |
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 flows (income and cash flow statement items) over, with balance sheet items averaged over the same number of period ends. E.g. 4 with quarterly data gives the trailing twelve months (TTM) and 3 with annual data a three-year cumulative figure. Defaults to None, which uses single-period flows (per quarter and not annualized with quarterly data). | 4 |