Bookmarks    
nPr and nCr    
Random Number    
SD Calculator    
Sample Size    
Percent Error    
Density    
Molarity    
Molar Mass    
Ohm's Law    
Watts to Amps    
Voltage Drop    
Long Division    
Mixed Numbers    
Rounding    
Nth Root    
Exponents    
Half-Life    
Polar Form    
De Moivre    
3D Distance    
Point to Line    
Cross Product    
Determinant    
Sin Cos Tan    
Triangle Area    
Scale Factor    
Sector Area    
Ellipse Area    
Cube Volume    
Box Volume    
Sphere Volume    
Cone Volume    
Pipe Volume    
Time Duration    
Time Card    
Present Value    
Future Value    
Churn Rate    
A/B Test Calc    
SEO Traffic    
Ideal Weight    
Fat Intake    
Child Height    
Golf Handicap    
Heat Index    
Wind Chill    
Dew Point    
Download Time    
kWh to Cost    
AC Size (BTU)    
Heating Costs    
LED Savings    
Trip Gas Cost    
Tire Size    
Solar Output    
Solar Payback    
Battery Size    
Wall Area    
Gravel Needed    
Mortar Mix    
Slope Grade    
Curtain Size    
Soil Needed    
Sod Needed    
Ramp Length    
Blind Size    
Drain Slope    
Board Feet    
Heat Loss    
Furniture Fit    
Moving Boxes    
Plywood Cuts    
Shelf Sag    
   Add
Probability and random number calculators
Independent Events
Independent Events
Two Events Solver
Two Events Solver
Repeated Trials
Repeated Trials
Bayes' Theorem
Bayes' Theorem
Expected Value
Expected Value
Binomial Distribution
Binomial Distribution
nPr and nCr
nPr and nCr
Circular Permutation
Circular Permutation
With Repetition
With Repetition
Random Number
Random Number
Averages and statistics calculators
Average Calculator
Average Calculator
Mean Median Mode
Mean Median Mode
SD Calculator
SD Calculator
Quartiles & IQR
Quartiles & IQR
Frequency Table
Frequency Table
Correlation (r)
Correlation (r)
Normal Probability
Normal Probability
Z-Score Calculator
Z-Score Calculator
Confidence Interval
Confidence Interval
Sample Size
Sample Size
Mark & Recapture
Mark & Recapture
P-Value Calculator
P-Value Calculator
Percentage and ratio calculators
Percentage Calc
Percentage Calc
Percent Change
Percent Change
Percent Difference
Percent Difference
Percent Error
Percent Error
Ratio Calculator
Ratio Calculator
Discount Calculator
Discount Calculator
Sales Tax Calculator
Sales Tax Calculator
Margin Calculator
Margin Calculator
Speed calculators
Speed Calculator
Speed Calculator
Density and concentration calculators
Density
Density
Molarity
Molarity
Molar Mass
Molar Mass
Physics and electricity calculators
Ohm's Law
Ohm's Law
Watts to Amps
Watts to Amps
Resistor Colors
Resistor Colors
Voltage Drop
Voltage Drop
Unit conversion calculators
Weight Converter
Weight Converter
Shoe Size Converter
Shoe Size Converter
Integer and signed number calculators
Long Division
Long Division
LCM Calculator
LCM Calculator
GCF Calculator
GCF Calculator
Integer Calculator
Integer Calculator
Prime Factorization
Prime Factorization
Diophantine Solver
Diophantine Solver
Modulo Calculator
Modulo Calculator
Factor Calculator
Factor Calculator
Roman Numerals
Roman Numerals
Fraction, decimal and rounding calculators
Fraction Calculator
Fraction Calculator
Mixed Numbers
Mixed Numbers
Simplify Fractions
Simplify Fractions
Fraction to Decimal
Fraction to Decimal
Decimal to Fraction
Decimal to Fraction
Rounding
Rounding
Equation and inequality calculators
Linear Equation
Linear Equation
Linear Systems
Linear Systems
Quadratic Formula
Quadratic Formula
Absolute Value
Absolute Value
Quadratic Inequality
Quadratic Inequality
Polynomial calculators
Binomial Theorem
Binomial Theorem
Square root and nth root calculators
Simplify Radicals
Simplify Radicals
Nth Root
Nth Root
Exponent and logarithm calculators
Exponents
Exponents
Log Calculator
Log Calculator
Number of Digits
Number of Digits
Scientific Notation
Scientific Notation
Sci. Notation Math
Sci. Notation Math
Half-Life
Half-Life
Complex number calculators
Complex Numbers
Complex Numbers
Polar Form
Polar Form
De Moivre
De Moivre
Function and graph calculators
Slope Calculator
Slope Calculator
Linear Function
Linear Function
Direct & Inverse Variation
Direct & Inverse Variation
y = ax² Calculator
y = ax² Calculator
Distance Formula
Distance Formula
3D Distance
3D Distance
Section Formula
Section Formula
Point to Line
Point to Line
Lat/Long Distance
Lat/Long Distance
Complete the Square
Complete the Square
Circle Equation
Circle Equation
Conic Sections
Conic Sections
Polar Coordinates
Polar Coordinates
Sequence calculators
Arithmetic Sequence
Arithmetic Sequence
Geometric Sequence
Geometric Sequence
Fibonacci Sequence
Fibonacci Sequence
Recurrence Relation
Recurrence Relation
Vector calculators
Vector Calculator
Vector Calculator
Cross Product
Cross Product
Matrix calculators
Matrix Calculator
Matrix Calculator
Determinant
Determinant
Inverse Matrix
Inverse Matrix
Plane geometry calculators
Sin Cos Tan
Sin Cos Tan
Degrees ⇔ Radians
Degrees ⇔ Radians
a sin θ + b cos θ
a sin θ + b cos θ
Triangle Solver
Triangle Solver
Triangle Area
Triangle Area
Right Triangle
Right Triangle
Pythagorean Theorem
Pythagorean Theorem
Polygon Angles
Polygon Angles
Scale Factor
Scale Factor
Parallel Lines
Parallel Lines
Rectangle Area
Rectangle Area
Parallelogram Area
Parallelogram Area
Trapezoid Area
Trapezoid Area
Circle Calculator
Circle Calculator
Sector Area
Sector Area
Inscribed Angle
Inscribed Angle
Ellipse Area
Ellipse Area
Solid geometry calculators
Cube Volume
Cube Volume
Cube Surface Area
Cube Surface Area
Box Volume
Box Volume
Box Surface Area
Box Surface Area
Cylinder Volume
Cylinder Volume
Cylinder Surface
Cylinder Surface
Sphere Volume
Sphere Volume
Sphere Surface
Sphere Surface
Spherical Cap Volume
Spherical Cap Volume
Cap Surface Area
Cap Surface Area
Ellipsoid Volume
Ellipsoid Volume
Ellipsoid Surface
Ellipsoid Surface
Pyramid Volume
Pyramid Volume
Pyramid Surface
Pyramid Surface
Cone Volume
Cone Volume
Cone Surface Area
Cone Surface Area
Frustum Volume
Frustum Volume
Frustum Surface Area
Frustum Surface Area
Pipe Volume
Pipe Volume
Capsule Volume
Capsule Volume
Capsule Surface Area
Capsule Surface Area
Date and time calculators
Age Calculator
Age Calculator
Days Between Dates
Days Between Dates
Date Calculator
Date Calculator
Hours From Now
Hours From Now
Day of the Week
Day of the Week
Time Calculator
Time Calculator
Time Zone Converter
Time Zone Converter
Hours Calculator
Hours Calculator
Time Duration
Time Duration
Time Card
Time Card
Finance and economics calculators
Compound Interest
Compound Interest
Simple Interest
Simple Interest
Interest Calculator
Interest Calculator
TVM Calculator
TVM Calculator
Present Value
Present Value
Future Value
Future Value
ROI Calculator
ROI Calculator
IRR Calculator
IRR Calculator
Payback Period
Payback Period
Average Return
Average Return
GDP Calculator
GDP Calculator
Web marketing and ad metric calculators
CTR Calculator
CTR Calculator
Conversion Rate
Conversion Rate
CPC, CPM & CPA
CPC, CPM & CPA
ROAS Calculator
ROAS Calculator
Break-Even CPA
Break-Even CPA
LTV Calculator
LTV Calculator
CAC Calculator
CAC Calculator
Churn Rate
Churn Rate
A/B Test Calc
A/B Test Calc
A/B Sample Size
A/B Sample Size
SEO Traffic
SEO Traffic
Break-Even Point
Break-Even Point
Markup vs. Margin
Markup vs. Margin
CAGR Calculator
CAGR Calculator
Health and fitness calculators
BMI Calculator
BMI Calculator
Sleep Calculator
Sleep Calculator
Calorie Calculator
Calorie Calculator
BMR Calculator
BMR Calculator
TDEE Calculator
TDEE Calculator
Ideal Weight
Ideal Weight
Body Fat Calculator
Body Fat Calculator
Lean Body Mass
Lean Body Mass
Calories Burned
Calories Burned
Protein Intake
Protein Intake
Macro Calculator
Macro Calculator
Carb Calculator
Carb Calculator
Fat Intake
Fat Intake
Child Height
Child Height
Sports calculators
Golf Handicap
Golf Handicap
Pace Calculator
Pace Calculator
1RM Calculator
1RM Calculator
Target Heart Rate
Target Heart Rate
Weather calculators
Heat Index
Heat Index
Wind Chill
Wind Chill
Dew Point
Dew Point
Computer calculators
Base Converter
Base Converter
Subnet Calculator
Subnet Calculator
Download Time
Download Time
Household energy and budget calculators
Electricity Cost
Electricity Cost
kWh to Cost
kWh to Cost
Yearly kWh to Cost
Yearly kWh to Cost
AC Size (BTU)
AC Size (BTU)
AC Running Cost
AC Running Cost
Heating Costs
Heating Costs
Gas vs Electric
Gas vs Electric
LED Savings
LED Savings
Salary Calculator
Salary Calculator
Budget Calculator
Budget Calculator
Car calculators
Trip Gas Cost
Trip Gas Cost
EV Charging Cost
EV Charging Cost
EV vs Gas Cost
EV vs Gas Cost
MPG Calculator
MPG Calculator
Tire Size
Tire Size
Solar power and battery calculators
Solar Output
Solar Output
Solar Panel Count
Solar Panel Count
Solar Payback
Solar Payback
Battery Size
Battery Size
Home and DIY calculators
Tile Calculator
Tile Calculator
Stair Calculator
Stair Calculator
Concrete Volume
Concrete Volume
Wall Area
Wall Area
Wallpaper Rolls
Wallpaper Rolls
Paint Calculator
Paint Calculator
Flooring Needed
Flooring Needed
Exterior Walls
Exterior Walls
Gravel Needed
Gravel Needed
Mortar Mix
Mortar Mix
Slope Grade
Slope Grade
Lumber Cut List
Lumber Cut List
Lot Coverage/FAR
Lot Coverage/FAR
Sheet Vinyl Roll
Sheet Vinyl Roll
Insulation Needed
Insulation Needed
Curtain Size
Curtain Size
TV Size & Distance
TV Size & Distance
Soil Needed
Soil Needed
Sod Needed
Sod Needed
Block Calculator
Block Calculator
Brick Calculator
Brick Calculator
Deck Materials
Deck Materials
Ramp Length
Ramp Length
Pilot Hole Size
Pilot Hole Size
Room Ventilation
Room Ventilation
Paint Thinning
Paint Thinning
Baseboard & Trim
Baseboard & Trim
Blind Size
Blind Size
Picture Hanging
Picture Hanging
Drain Slope
Drain Slope
Screw Calculator
Screw Calculator
Board Feet
Board Feet
Fence Calculator
Fence Calculator
Wood Shrinkage
Wood Shrinkage
Caulk Calculator
Caulk Calculator
Heat Loss
Heat Loss
Furniture Fit
Furniture Fit
Moving Boxes
Moving Boxes
Storage Capacity
Storage Capacity
Plywood Cuts
Plywood Cuts
Shelf Sag
Shelf Sag

Break-Even CPA and Target CPA Calculator (Max Ad Spend per Conversion and Max CPC)

Enter the average order value (revenue per conversion) and gross margin to get the break-even CPA. Add a target profit (as a % of revenue or a dollar amount per conversion) for the target CPA, and an expected conversion rate for the max CPC. To include repeat purchases, choose "Enter gross profit directly" and enter the lifetime gross profit of one customer.

Enter amounts in dollars and rates as percentages (for 40%, enter "40"). Gross margin is gross profit as a share of revenue (not a share of cost, which is markup). If you leave the target profit blank, the target profit is 0 and only the break-even CPA is found. The lengths in the bar are to scale.
Result and graph
Enter the average order value and gross margin (plus a target profit and conversion rate if you like) on the left and press "Calculate". The break-even CPA, target CPA and max CPC will appear here, with a bar showing how the order value splits up.

What you can do on this page

  • From the average order value (revenue per conversion) and gross margin (%), it calculates the most you can spend on ads to win one conversion: the break-even CPA (= gross profit per conversion)
  • Enter a target profit margin such as "I want to keep 15% of revenue as profit" (or a target profit per conversion in dollars), and it calculates the target CPA (gross profit minus target profit) and the max ad spend as a percentage of revenue
  • Enter an expected conversion rate (%), and it works back from the target CPA to the max CPC (the most you can pay per click, a guide for your bids)
  • There is also a mode where you enter the gross profit per customer directly, including repeat purchases (the gross profit from customer lifetime value)
  • A single bar shows how the order value splits into cost of goods, target CPA and target profit. An explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are also on this page
On this page: break-even CPA = gross profit per conversion (order value × gross margin), target CPA = gross profit − target profit per conversion, and max CPC = target CPA × conversion rate (as a decimal). Enter gross margin and target profit margin as a percentage of revenue (the order value); for 25%, enter "25". Enter amounts in dollars.

What is this calculation used for?

Deciding how much you can spend on product ads (online store or side business)

With an average order of $120 and a gross margin of 35%, each order leaves \(120 \times 0.35 = 42\) dollars of gross profit, and that is the break-even CPA. If the CPA in your ads dashboard is above $42, those ads lose money on every sale.
If you want to keep 10% of revenue ($12) as profit, the target CPA is \(42 - 12 = 30\) dollars. Before you launch, you can draw the lines in numbers: "keep running while CPA is $30 or less, stop if it goes over $42".

Setting the max CPC bid for search ads (running ads)

If the target CPA is $30 and the product page converts at 2% based on past results, the max CPC is \(30 \times 0.02 = 0.60\) dollars. A 2% conversion rate is "1 in 50 clicks", so $30 shared by 50 clicks is $0.60 per click.
Marketers use this max CPC as the max CPC bid in their settings. If competition is so strong that a $0.60 bid barely gets shown, it tells you what to consider next: raise the conversion rate (improve the page) or shift ads to products with larger gross profit.

Thinking about acquisition cost with LTV for a subscription (SaaS and subscription boxes)

For a $50/month service with an 80% gross margin that customers keep for 12 months on average, the lifetime gross profit per customer is \(50 \times 0.8 \times 12 = 480\) dollars. If you look only at the first month's $40 of gross profit, you can barely advertise, but if you enter the lifetime gross profit as the gross profit per conversion, the break-even CPA grows to $480.
If your policy is to keep $200 per customer as profit, the target CPA is $280, and at a 1.5% conversion rate the max CPC is \(280 \times 0.015 = 4.20\) dollars. The 12 months is only an estimate, though, so recalculate regularly using your actual churn rate.

When a conversion is a lead, not a sale (high-ticket products and services)

For high-ticket products such as cars, solar panels or home remodeling, the ad conversion is often a lead (a quote request), and the sale comes later through a sales team. First estimate the gross profit per lead. If one sale brings $5,000 of gross profit and 5% of leads become sales, each lead is worth \(5000 \times 0.05 = 250\) dollars of gross profit.
Enter this $250 as the gross profit per conversion, and the break-even CPA per lead is $250. With a target profit of $100, the target CPA is $150. Like the conversion rate, the close rate is an assumption, so update it with actual results.

Ads for free intro lessons (local tutoring centers and music schools)

If one enrollment brings $2,400 in tuition for the first year and the gross margin after materials and other direct costs is 60%, each enrollment leaves \(2400 \times 0.6 = 1440\) dollars of gross profit. If your policy is to keep 30% of revenue ($720) as profit, the target CPA per enrollment is \(1440 - 720 = 720\) dollars.
If the ad conversion is an intro lesson sign-up and half of those students enroll, the target CPA per intro lesson sign-up is half of that, $360. The gut-feeling debate "Is $300 per intro lesson sign-up too much?" becomes a calculation from gross profit.

Formulas and figures

Formula for the break-even CPA (gross profit per conversion)
Figure
Standard notation (the usual math form)
\(\mathrm{CPA}_{\text{BE}}\) \(=\) \(P\) \(\times\) \(\dfrac{M}{100}\)
In words (symbols replaced with words)
③ \(\mathrm{CPA}_{\text{BE}}\): break-even CPA \(=\) ① \(P\): order value \(\times\) ② \(M \div 100\): gross margin
The formula in words
① Take the \(P\): order value ,
② multiply it by the \(M \div 100\): gross margin (the percentage as a decimal), and you get the
③ \(\mathrm{CPA}_{\text{BE}}\): break-even CPA (the gross profit left per conversion = the most you can spend on ads to win one conversion)
Quick example
With an average order value of $80 and a gross margin of 40%, the break-even CPA is
break-even CPA \(\mathrm{CPA}_{\text{BE}}\) \(=\) order value ($80) \(\times\) gross margin (\(40 \div 100\))
\(40 \div 100 = 0.4\)
\(80 \times 0.4 = 32\)
Key idea
CPA stands for cost per acquisition: the ad spend per conversion. "Break-even" is the line where you neither make nor lose money. The break-even CPA is the ceiling: you can spend up to this much on ads to win one conversion without losing money on that conversion. To see why it equals the gross profit, look at what is inside one sale. Of the $80 in revenue, $48 goes out as the cost of goods (what you paid to buy or make the product), and the remaining $32 of gross profit is the most you can put into ads. If ad spend goes over $32, every such sale loses money. The gross margin on this page is gross profit as a share of revenue. If you know it as a share of cost (markup), first convert it to a share of revenue with the profit margin calculator. You may also see a rough method that uses the whole order value as the break-even CPA. That ignores the cost of goods and sets the ceiling far too high, so you may keep losing money while thinking a CPA above the gross profit is still "within the limit".
Formula for the target profit per conversion (from a target profit margin)
Standard notation (the usual math form)
\(G\) \(=\) \(P\) \(\times\) \(\dfrac{T}{100}\)
In words (symbols replaced with words)
③ \(G\): target profit \(=\) ① \(P\): order value \(\times\) ② \(T \div 100\): target profit margin
The formula in words
① Take the \(P\): order value ,
② multiply it by the \(T \div 100\): target profit margin (the percentage as a decimal), and you get the
③ \(G\): target profit (the profit you want to keep per conversion after paying for ads)
Quick example
With an average order value of $80, if you want to keep 15% of revenue as profit, the target profit per conversion is
target profit \(G\) \(=\) order value ($80) \(\times\) target profit margin (\(15 \div 100\))
\(15 \div 100 = 0.15\)
\(80 \times 0.15 = 12\)
Key idea
Like the gross margin, the target profit margin is a percentage of revenue. The idea is "keep 15 points of the 40% gross margin as profit", so the target profit margin must not be larger than the gross margin (if it were, nothing would be left for ads). If you set your goal as a dollar amount, such as "I want to keep $12 per conversion", skip this formula and use that amount as the target profit \(G\) (this is the "Target profit per conversion ($)" option in the calculator).
Formula for the target CPA (the most you can spend and keep your profit goal)
Figure
Standard notation (the usual math form)
\(\mathrm{CPA}_{\max}\) \(=\) \(\mathrm{CPA}_{\text{BE}}\) \(-\) \(G\)
In words (symbols replaced with words)
③ \(\mathrm{CPA}_{\max}\): target CPA \(=\) ① \(\mathrm{CPA}_{\text{BE}}\): break-even CPA (gross profit) \(-\) ② \(G\): target profit
The formula in words
① From the \(\mathrm{CPA}_{\text{BE}}\): break-even CPA (gross profit) ,
② subtract the \(G\): target profit , and you get the
③ \(\mathrm{CPA}_{\max}\): target CPA (the most you can spend on ads to win one conversion while keeping your profit goal)
Quick example
With a break-even CPA (gross profit) of $32 and a target profit of $12 per conversion, the target CPA is
target CPA \(\mathrm{CPA}_{\max}\) \(=\) break-even CPA ($32) \(-\) target profit ($12)
\(32 - 12 = 20\)
Key idea
The break-even CPA is the ceiling for not losing money; if you spend all the way up to it, your profit is zero. When you actually run ads, first set aside the profit you want to keep from the gross profit, and use what is left as the ceiling for ad spend. This is the target CPA (also called the allowable CPA or max CPA), the practical ceiling that marketers use to set bids and budgets. It is also the value you enter as "Target CPA" in Google Ads bidding. As a share of revenue, the example leaves 40% gross margin − 15% target profit margin = 25% for ads. The calculator shows this as the max ad spend as a % of revenue (\(20 \div 80 \times 100 = 25\)%). In businesses with repeat purchases, you may set the ceiling using not only the gross profit of the first order but also the gross profit from the customer's later purchases (the idea of customer lifetime value, or LTV). In that case, choose "Enter gross profit directly" in the calculator and enter the lifetime gross profit of one customer in place of \(\mathrm{CPA}_{\text{BE}}\). Future repeat purchases are only an estimate, though. If you allow a CPA above the first-order gross profit, accept that you will earn it back later and less surely.
Formula for the max CPC (the most you can pay per click)
Figure
Standard notation (the usual math form)
\(\mathrm{CPC}_{\max}\) \(=\) \(\mathrm{CPA}_{\max}\) \(\times\) \(\dfrac{\mathrm{CVR}}{100}\)
In words (symbols replaced with words)
③ \(\mathrm{CPC}_{\max}\): max CPC \(=\) ① \(\mathrm{CPA}_{\max}\): target CPA \(\times\) ② \(\mathrm{CVR} \div 100\): expected conversion rate
The formula in words
① Take the \(\mathrm{CPA}_{\max}\): target CPA ,
② multiply it by the \(\mathrm{CVR} \div 100\): expected conversion rate (the percentage as a decimal), and you get the
③ \(\mathrm{CPC}_{\max}\): max CPC (the most you can pay per click)
Quick example
With a target CPA of $20 and an expected conversion rate of 2%, the max CPC is
max CPC \(\mathrm{CPC}_{\max}\) \(=\) target CPA ($20) \(\times\) expected CVR (\(2 \div 100\))
\(2 \div 100 = 0.02\)
\(20 \times 0.02 = 0.4\)
Key idea
A conversion rate (CVR) of 2% is "2 conversions per 100 clicks", in other words "50 clicks for one conversion". The $20 target CPA is shared by those 50 clicks, so you can pay at most \(20 \div 50 = 0.40\) dollars per click. This is the max CPC, a guide for the max CPC bid you set in search ads. This formula is the relation \(\mathrm{CPA} = \mathrm{CPC} \div \mathrm{CVR}\) (CVR as a decimal), explained on the CPC, CPM and CPA calculator page, solved for \(\mathrm{CPC}\). The same calculation on the break-even CPA gives the "break-even CPC" (the highest cost per click that does not lose money), which the calculator also shows. The expected conversion rate is an assumption based on past results. If the real conversion rate is lower, the same CPC pushes the CPA above the target. Treat the result as a guide that holds "if the assumption is right", and recalculate with the actual conversion rate once the campaign is running.
The gross profit per conversion (the order value minus the cost of goods) is the most you can spend on ads to win that conversion, the break-even CPA. Set aside the profit you want to keep (the target profit), and what is left is the target CPA. Multiply the target CPA by the expected conversion rate, and you get the max CPC (the ceiling per click). Keep two points in mind, "gross margin and target profit margin are percentages of revenue" and "turn the conversion rate into a decimal before multiplying", and your ad spend ceilings come from just subtraction and multiplication.

Symbols and terms

Symbols

\(\mathrm{CPA}_{\text{BE}}\) C-P-A sub B-E Break-even CPA. CPA stands for cost per acquisition (also cost per action). The subscript BE stands for break-even. It is the most you can spend on ads to win one conversion without losing money, which equals the gross profit per conversion.
\(\mathrm{CPA}_{\max}\) C-P-A sub max Target CPA. The subscript max is short for maximum: the most you can spend on ads per conversion while keeping your profit goal. Found with \(\mathrm{CPA}_{\max} = \mathrm{CPA}_{\text{BE}} - G\).
\(P\) pee Average order value (revenue per conversion), from the first letter of "price". In dollars.
\(M\) em Gross margin (%), from the first letter of "margin". Gross profit as a share of revenue, not as a share of cost (markup).
\(T\) tee Target profit margin (%), from the first letter of "target". What percentage of revenue you want to keep as profit after paying for ads.
\(G\) gee Target profit per conversion (in dollars), from the first letter of "goal". Found with \(G = P \times T \div 100\), or set directly as a dollar amount.
\(\mathrm{CVR}\) C-V-R Conversion rate (%). The share of people who clicked the ad and then converted. In the formulas, divide it by 100 to make it a decimal before multiplying.
\(\mathrm{CPC}_{\max}\) C-P-C sub max Max CPC. CPC stands for cost per click, and max is short for maximum. The most you can pay per click and still stay within the target CPA: \(\mathrm{CPC}_{\max} = \mathrm{CPA}_{\max} \times \mathrm{CVR} \div 100\).

Terms

CPA (cost per acquisition) The ad spend per conversion, or "how much it cost to win one customer". It is the central metric for judging whether ads pay off. Your actual CPA is "ad spend ÷ conversions", but this page deals with the ceiling (break-even CPA and target CPA), not the actual value.
break-even CPA The most you can spend on ads to win one conversion without losing money. It equals the gross profit left by one conversion. "Break-even" is the line where you neither make nor lose money; if you spend this much, the profit on that conversion is zero.
target CPA (allowable CPA) The most you can spend on ads to win one conversion while keeping your profit goal. Found with "gross profit − target profit". This is the value marketers use as the "Target CPA" for bids and budgets, and it is smaller than the break-even CPA.
gross profit Revenue minus only the cost of goods (costs that come with each sale, such as the purchase price, manufacturing cost and shipping). It is the profit before costs such as salaries and rent, and ad spend is also paid out of it.
gross margin Gross profit as a percentage of revenue ("gross profit ÷ revenue × 100"). On this page, gross margin is always a percentage of revenue. Markup (the amount added on top of cost, as a percentage of cost) has a different base, so the numbers differ for the same product. Do not mix them up.
average order value (AOV) Revenue per customer (per order). On this page it is the revenue you get from one conversion. Enter the average order amount or the contract value of one sign-up.
target profit margin What percentage of revenue you want to keep as profit after paying for ads. On this page it is set as a percentage of revenue. It must not exceed the gross margin, and the gap between the two is the share you can put into ads (the max ad spend as a % of revenue).
max ad spend as a % of revenue The largest share of revenue you can put into ads (%). Found with "target CPA ÷ order value × 100" or "gross margin − target profit margin". Ad spend ÷ revenue × 100 is called the advertising cost of sales (ACoS, a common metric in Amazon Ads), and this value is its ceiling.
conversion rate (CVR) The share of people who clicked the ad and then converted (bought, signed up and so on). It is also the reciprocal of "clicks needed per conversion" (at 2%, 1 conversion per 50 clicks), and it is used to find the max CPC from the target CPA.
max CPC The most you can pay per click and still stay within the target CPA. Found with "target CPA × conversion rate (as a decimal)". If you keep the max CPC bid in search ads at or below this value, the CPA stays within the target as long as the conversion rate matches your expectation.
customer lifetime value (LTV) The total revenue or gross profit one customer brings while they keep buying from you. In businesses with repeat purchases, the target CPA is sometimes based on the lifetime gross profit rather than the first-order gross profit. Because it includes future estimates, it is less certain than using the first order alone.
break-even ROAS The lowest ROAS (revenue as a percentage of ad spend) that does not lose money. It is 100 divided by the gross margin as a decimal (at a 40% gross margin, \(100 \div 0.4 = 250\)%). The break-even CPA says it as an amount per conversion, and the break-even ROAS says it as a ratio of revenue to ad spend, but the idea is the same.

Good to know before you start

Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.

Percents (Grades 6–7)
  • Knowing that a percent is "part ÷ whole" (gross margin and target profit margin use revenue as the whole)
  • Being able to switch between percentages and decimals (\(40\% = 0.4\), \(2\% = 0.02\))
  • Noticing that the number changes depending on what the whole is (gross margin is based on revenue, markup on cost)
The percent equation (Grade 7)
  • Being able to use "part = percent × whole" to find the gross profit or target profit in dollars from revenue
Unit rates (Grade 6)
  • Knowing that "total ÷ number of items" gives the amount per item (the max CPC is the target CPA split over the clicks needed for one conversion, an amount per click)
Revenue, cost and profit (personal finance and business basics)
  • Knowing that profit (gross profit) is "revenue − cost of goods", and that expenses such as ad spend are paid out of gross profit
Variables and rearranging equations (Grades 7–8)
  • Understanding a formula with letters such as \(\mathrm{CPA} = \mathrm{CPC} \div \mathrm{CVR}\), and being able to rearrange it as \(\mathrm{CPC} = \mathrm{CPA} \times \mathrm{CVR}\) to find another quantity (this is the max CPC formula)

How to calculate it in Excel

Copy the whole table below and paste it into cell A1 in Excel. It works as is.
Table to find the break-even CPA
Order value P ($) 80
Gross margin M (%) 40
Break-even CPA ($) =B1*B2/100
Table to find the target CPA (from a target profit margin)
Order value P ($) 80
Gross margin M (%) 40
Target profit margin T (%) 15
Target profit G ($) =B1*B3/100
Target CPA ($) =B1*B2/100-B4
Max ad spend (% of revenue) =B5/B1*100
Table to find the target CPA (from gross profit and a target profit amount)
Gross profit per conversion ($) 288
Target profit per conversion G ($) 120
Target CPA ($) =B1-B2
Table to find the max CPC
Target CPA ($) 20
Expected CVR (%) 2
Max CPC ($) =B1*B2/100
After pasting, column A holds the labels and column B holds the inputs and the calculated results.
B3 of the first table shows 32 (break-even CPA). In the second table, B4 shows 12 (target profit), B5 shows 20 (target CPA) and B6 shows 25 (max ad spend as a % of revenue). B3 of the third table shows 168 (target CPA), and B3 of the fourth shows 0.4 (max CPC). Just replace the inputs with your own numbers.

How to calculate it in Google Sheets

Copy the whole table below and paste it into cell A1 in Google Sheets. It works as is.
Table to find the break-even CPA
Order value P ($) 80
Gross margin M (%) 40
Break-even CPA ($) =B1*B2/100
Table to find the target CPA (from a target profit margin)
Order value P ($) 80
Gross margin M (%) 40
Target profit margin T (%) 15
Target profit G ($) =B1*B3/100
Target CPA ($) =B1*B2/100-B4
Max ad spend (% of revenue) =B5/B1*100
Table to find the target CPA (from gross profit and a target profit amount)
Gross profit per conversion ($) 288
Target profit per conversion G ($) 120
Target CPA ($) =B1-B2
Table to find the max CPC
Target CPA ($) 20
Expected CVR (%) 2
Max CPC ($) =B1*B2/100
The same formulas as in Excel work as is. Copy the whole table, paste it into cell A1, and replace the inputs with your own numbers.

How to calculate it in Python

price = 80          # average order value (revenue per conversion, $)
margin_rate = 40    # gross margin (% of revenue)
target_rate = 15    # target profit margin (% of revenue)
cvr = 2             # expected conversion rate (%)

gross_profit = price * margin_rate / 100      # gross profit per conversion
break_even_cpa = gross_profit                 # break-even CPA (= gross profit)
target_profit = price * target_rate / 100     # target profit per conversion
max_cpa = break_even_cpa - target_profit      # target CPA
max_cpa_rate = max_cpa / price * 100          # max ad spend as a % of revenue
max_cpc = max_cpa * cvr / 100                 # max CPC

print(f"Break-even CPA: ${break_even_cpa}")
print(f"Target profit: ${target_profit}  Target CPA: ${max_cpa}  Max ad spend: {max_cpa_rate}% of revenue")
print(f"Max CPC: ${max_cpc}")

# When you enter gross profit directly (lifetime gross profit per customer, and a target profit amount)
gross_profit2 = 288      # gross profit per customer ($)
target_amount2 = 120     # target profit per conversion ($)
max_cpa2 = gross_profit2 - target_amount2
print(f"Target CPA (gross profit entered directly): ${max_cpa2}")
Runs with the standard library only. In this example, the break-even CPA is $32.0, the target profit is $12.0, the target CPA is $20.0, the max ad spend is 25.0% of revenue, the max CPC is $0.4, and the target CPA in the direct gross profit example is $168. Change the numbers at the top and run it.

How to write it in LaTeX and other math languages (copy and paste)

Formula for the break-even CPA (gross profit per conversion)
CPA_be = P × (M/100)
\mathrm{CPA}_{\mathrm{BE}} = P \times \dfrac{M}{100}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi mathvariant="normal">CPA</mi><mi>BE</mi></msub>
    <mo>=</mo>
    <mi>P</mi>
    <mo>&#xD7;</mo>
    <mfrac><mi>M</mi><mn>100</mn></mfrac>
  </mrow>
</math>
CPA_be = P xx (M/100)
p*m/100
CPAbe := P*M/100;
CPAbe = P*M/100;
CPA_be = P × (M/100)
Formula for the target profit per conversion (from a target profit margin)
G = P × (T/100)
G = P \times \dfrac{T}{100}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>G</mi>
    <mo>=</mo>
    <mi>P</mi>
    <mo>&#xD7;</mo>
    <mfrac><mi>T</mi><mn>100</mn></mfrac>
  </mrow>
</math>
G = P xx (T/100)
p*t/100
G := P*T/100;
G = P*T/100;
G = P × (T/100)
Formula for the target CPA (the most you can spend and keep your profit goal)
CPA_max = CPA_be − G
\mathrm{CPA}_{\max} = \mathrm{CPA}_{\mathrm{BE}} - G
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi mathvariant="normal">CPA</mi><mi>max</mi></msub>
    <mo>=</mo>
    <msub><mi mathvariant="normal">CPA</mi><mi>BE</mi></msub>
    <mo>&#x2212;</mo>
    <mi>G</mi>
  </mrow>
</math>
CPA_max = CPA_be - G
cpaBe - g
CPAmax := CPAbe - G;
CPAmax = CPAbe - G;
CPA_max = CPA_be - G
Formula for the max CPC (the most you can pay per click)
CPC_max = CPA_max × (CVR/100)
\mathrm{CPC}_{\max} = \mathrm{CPA}_{\max} \times \dfrac{\mathrm{CVR}}{100}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi mathvariant="normal">CPC</mi><mi>max</mi></msub>
    <mo>=</mo>
    <msub><mi mathvariant="normal">CPA</mi><mi>max</mi></msub>
    <mo>&#xD7;</mo>
    <mfrac><mi mathvariant="normal">CVR</mi><mn>100</mn></mfrac>
  </mrow>
</math>
CPC_max = CPA_max xx (CVR/100)
cpaMax*cvr/100
CPCmax := CPAmax*CVR/100;
CPCmax = CPAmax*CVR/100;
CPC_max = CPA_max × (CVR/100)

How to have ChatGPT  do the calculation

You are a calculation assistant for online advertising. Do the following calculation by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing).

I sell a product through ads. The average order value (revenue per conversion) is $80, and the gross margin (as a % of revenue) is 40%.
Find each of the following:
1. Break-even CPA (order value × gross margin ÷ 100, the gross profit per conversion)
2. If I want to keep 15% of revenue as profit: the target profit per conversion (order value × 15 ÷ 100) and the target CPA (break-even CPA − target profit)
3. Max ad spend as a % of revenue (target CPA ÷ order value × 100)
4. With an expected conversion rate of 2%: the max CPC (target CPA × 2 ÷ 100) and the break-even CPC (break-even CPA × 2 ÷ 100)
5. For a different service: the target CPA when the gross profit per customer, including repeat purchases, is $288 and the target profit per conversion is $120 (gross profit − target profit)

Show the formulas you used and the numbers from the execution result.

How to Use
  1. 1
    Enter your numbers
    Type the numbers you want to calculate with into the input fields
  2. 2
    Calculate
    Press the "Calculate" button
  3. 3
    Check the result
    The result appears on the spot. The same page also explains the idea behind the calculation and the formula
  DataChef Features
Easy and Free
Unlimited conversions for free.
No technical knowledge required.
Intuitive and user-friendly operation.
No Registration Required
Available immediately after access.
Can be used without registering personal information.
Safe and Secure
Fully SSL encrypted communication.
Automatic file deletion by clicking "download".
Fast
High-speed site access
and rapid file conversion.
No Watermark
No watermark.
No attribution required.
Commercial Use Available
Free for commercial use.
No need to contact us for commercial use permission.