Continuing Operations Profit Margin

Calculate the continuing operations profit margin, the net income from continuing operations as a share of revenue.

The net profit margin includes the result of discontinued operations, such as a business that was sold or is held for sale, including the gain or loss on its sale. Those results do not recur, so the continuing operations profit margin is the margin of the business the company keeps. Both are equal for a company without discontinued operations.

The formula is as follows:

\[\text{Continuing Operations Profit Margin} = \frac{\text{Net Income from Continuing Operations}}{\text{Revenue}}\]

Also known as: continuous operations profit margin, net margin from continuing operations.

Example · GE, JNJ, DHR · 2021 to 2025

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

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["GE", "JNJ", "DHR"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.ratios.get_continuing_operations_profit_margin()

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

What was the profit margin from continuing operations of GE, Johnson & Johnson and Danaher from 2021 to 2025?

Which returns:

Parameters

get_continuing_operations_profit_margin 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
trailingintThe 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. The window counts calendar periods, so a period without a report makes it NaN. Defaults to None, which uses single-period flows (per quarter and not annualized with quarterly data).4
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
Share