The marketing ROI formula measures the financial return generated by marketing compared with the amount invested. It helps teams evaluate whether a campaign, channel, or broader marketing activity is producing enough value to justify its cost.

The standard formula is:

Marketing ROI = ((Revenue attributed to marketing − Marketing cost) ÷ Marketing cost) × 100

The calculation is simple, but the result depends on how accurately the business defines marketing costs and connects revenue to marketing activity.

How to Calculate Marketing ROI

To calculate marketing ROI, you need two primary inputs:

Imagine a company spends $5,000 on a paid campaign and attributes $20,000 in revenue to it.

The calculation is:

(($20,000 − $5,000) ÷ $5,000) × 100 = 300%

The campaign produced a 300% marketing ROI. This means it generated a return equal to three times the original investment after recovering the marketing cost.

A positive ROI means the attributed return was greater than the investment. A negative ROI means the recorded return was lower than the marketing cost.

Marketing ROI Example

Consider an SMB running paid search and LinkedIn campaigns to generate software demo requests.

Input Amount
Media spend $7,000
Creative and agency costs $3,000
Total marketing cost $10,000
Attributed revenue $35,000

The marketing ROI calculation is:

(($35,000 − $10,000) ÷ $10,000) × 100 = 250%

The campaigns generated a 250% return based on the costs and revenue included in the calculation.

However, changing the inputs would change the result. If the company counted only media spend, the ROI would appear higher because creative and agency costs were excluded. This is why teams should use consistent cost definitions across campaigns and reporting periods.

What Should Marketing Costs Include?

Marketing costs should reflect the scope of the activity being measured. For a single paid campaign, the calculation may include media spend, creative production, and agency fees.

A broader calculation may also include:

There is no single cost definition that fits every organization. The important requirement is to document which costs are included and apply that method consistently.

What Revenue Should You Use?

The return is often based on attributed revenue, but the appropriate revenue measure depends on the business model.

An ecommerce company may use completed purchase revenue. A B2B company may use closed revenue, pipeline value, or another sales outcome while waiting for deals to close.

Closed revenue is more reliable because the sale has already happened. Pipeline value provides an earlier signal, but it is not guaranteed revenue and should be labeled clearly.

For subscription businesses, teams may use first-year revenue, annual contract value, or customer lifetime value. Each approach produces a different result, so the chosen method should match the reporting purpose.

Why Attribution Affects the Formula

When several channels contribute to one customer journey, the attribution model determines how much revenue each channel receives.

For example, paid social may introduce a prospect, organic search may support research, and email may drive the final demo request. Last-click attribution could assign all revenue to email, while a multi-touch model may divide it across the journey.

This means the ROI formula can be mathematically correct while the result is still misleading if revenue credit is assigned poorly. The broader guide to marketing ROI and the factors that affect it explains how attribution, sales cycles, margins, and customer value influence ROI analysis.

Common Marketing ROI Calculation Mistakes

One common mistake is using total company revenue instead of revenue connected to the marketing activity being evaluated. Another is including only advertising spend while ignoring other campaign costs.

Teams may also measure ROI too early. In B2B marketing, revenue can close weeks or months after the campaign generated the first interaction. A short reporting period may therefore make an effective campaign appear unprofitable.

Marketing ROI should be used with supporting metrics such as conversion rate, customer acquisition cost, pipeline, profit margin, and customer lifetime value. The percentage provides a useful summary, but it does not explain every reason behind performance.