Xplainr
    Marketing ROI

    How to Calculate Marketing ROI (With Examples)

    Step-by-step guide to calculating marketing ROI. Includes formulas, examples, and a free calculator.

    Share:

    Marketing ROI is the ultimate measure of marketing effectiveness - but calculating it correctly is harder than it looks. This guide provides formulas, methods, and examples to help you measure the true return on your marketing investment.

    The Basic Marketing ROI Formula

    At its simplest:

    Marketing ROI = (Revenue Attributed to Marketing - Marketing Cost) / Marketing Cost × 100
    
    Example:
    Revenue from marketing: $100,000
    Marketing spend: $20,000
    ROI = ($100,000 - $20,000) / $20,000 × 100 = 400%

    This means for every $1 spent, you generated $4 in profit (after recovering the $1 spent).

    ROI vs. ROAS: Understanding the Difference

    These terms are often confused:

    MetricFormulaExample
    ROAS (Return on Ad Spend)Revenue / Ad Spend$100,000 / $20,000 = 5:1 or 500%
    ROI (Return on Investment)(Revenue - Cost) / Cost($100,000 - $20,000) / $20,000 = 400%

    Key difference: ROAS of 5:1 = ROI of 400%. ROAS includes the original investment in the return; ROI measures return after recovering the investment.

    What to Include in Marketing Cost

    For accurate ROI, include all marketing costs:

    Direct Costs

    • Ad spend (all platforms)
    • Content production (copywriting, design, video)
    • Software and tools
    • Agency fees
    • Event costs
    • Sponsorships

    Indirect Costs (Often Forgotten)

    • Marketing team salaries and benefits
    • Portion of shared tools (CRM, analytics)
    • Overhead allocation

    Simplified vs. Full-Loaded ROI

    Simplified: Use for channel comparison (ad spend only)

    Full-loaded: Use for total marketing efficiency (all costs)

    Be consistent in what you include when comparing periods.

    The Attribution Challenge

    The numerator (revenue attributed to marketing) is the hard part:

    Single-Touch Attribution

    • First touch: Credits the first interaction
    • Last touch: Credits the final interaction before conversion

    Simple but inaccurate for complex journeys.

    Multi-Touch Attribution

    • Linear: Equal credit to all touchpoints
    • Time decay: More credit to recent touchpoints
    • Position-based: Most credit to first and last
    • Data-driven: ML-based credit assignment

    More accurate but requires good data and tooling. See ourtrack conversions across channels.

    ROI Calculation Examples

    E-Commerce Example

    Monthly marketing spend: $50,000
    - Google Ads: $25,000
    - Meta Ads: $15,000
    - Email platform: $500
    - Content production: $9,500
    
    Revenue attributed to marketing: $200,000
    (Using multi-touch attribution from GA4)
    
    Marketing ROI = ($200,000 - $50,000) / $50,000 × 100 = 300%
    
    For every $1 spent, $3 profit generated.

    B2B Lead Generation Example

    Quarterly marketing spend: $75,000
    
    Leads generated: 500
    Marketing-qualified leads (MQLs): 200
    Sales-qualified leads (SQLs): 80
    Closed deals: 16
    Average deal value: $25,000
    Total revenue from marketing-sourced deals: $400,000
    
    Marketing ROI = ($400,000 - $75,000) / $75,000 × 100 = 433%

    Channel-Level ROI

    Channel comparison for Q4:
    
    Google Ads:
    Spend: $30,000 | Revenue: $150,000 | ROI: 400%
    
    Meta Ads:
    Spend: $20,000 | Revenue: $80,000 | ROI: 300%
    
    Email:
    Spend: $2,000 | Revenue: $40,000 | ROI: 1,900%
    
    Insight: Email has highest ROI but limited scale. 
    Google Ads offers good ROI at scale.

    Accounting for Time

    Payback Period

    How long until marketing spend is recovered?

    CAC: $500 per customer
    Average monthly revenue per customer: $100
    Gross margin: 60%
    Monthly contribution: $60
    
    Payback period = $500 / $60 = 8.3 months

    LTV:CAC Ratio

    Compares customer lifetime value to acquisition cost:

    Customer lifetime value (LTV): $2,400
    Customer acquisition cost (CAC): $500
    
    LTV:CAC = $2,400 / $500 = 4.8
    
    Rule of thumb: LTV:CAC should be > 3:1

    Time Lag Considerations

    B2B sales cycles can be 6-12 months. Marketing ROI measured monthly will be inaccurate.

    • Use cohort analysis to track marketing spend against revenue by when spend occurred
    • Account for typical sales cycle in your measurement window
    • Consider leading indicators (pipeline value) alongside revenue

    Measuring Brand Marketing ROI

    Brand marketing is harder to measure but not impossible:

    Proxy Metrics

    • Brand search volume: Are more people searching for your brand?
    • Direct traffic: Are more people typing your URL?
    • Brand awareness surveys: Do more people recognize you?
    • Share of voice: Your brand mentions vs. competitors

    Measuring Halo Effects

    • Does brand advertising improve performance marketing efficiency?
    • Does brand investment correlate with reduced CAC over time?
    • Does brand awareness correlate with higher conversion rates?

    Improving Marketing ROI

    Two levers: increase revenue or decrease cost.

    Increasing Revenue Side

    • Improve targeting to reach higher-value customers
    • Optimize conversion rates (CRO guide)
    • Increase average order value
    • Improve customer retention

    Decreasing Cost Side

    • Shift budget to higher-ROI channels
    • Reduce waste through better targeting
    • Automate manual processes
    • Consolidate tools and vendors

    Reporting ROI to Stakeholders

    Different audiences need different views:

    AudienceROI View
    C-SuiteTotal marketing ROI, trend over time, vs. target
    FinanceROI by quarter, CAC trends, payback period
    Marketing leadershipROI by channel, campaign, and initiative
    Channel managersROI by campaign, ad set, creative

    See our guide on business case for marketing.

    Common ROI Calculation Mistakes

    1. Forgetting Costs

    Including only ad spend, not production, tools, or team costs.

    2. Double-Counting Revenue

    Each platform claims credit for the same conversion.

    3. Wrong Time Window

    Measuring B2B ROI monthly when sales cycle is quarterly.

    4. Ignoring Incrementality

    Not all "attributed" revenue would have been lost without marketing.

    How Xplainr Helps

    Xplainr unifies your marketing data to calculate accurate ROI across all channels, with AI-powered attribution and automated reporting.

    Calculate Your Marketing ROI

    Know exactly what your marketing returns

    ROI as a Practice

    Calculating marketing ROI isn't a one-time exercise - it's an ongoing practice. The goal isn't perfect measurement (impossible) but directionally accurate measurement that improves decision-making over time.

    Start with the basics, improve your attribution over time, and use tools like Xplainr to unified marketing view for more accurate ROI measurement.

    Next Steps
    Written by the Xplainr Team

    Our team of marketing analytics experts creates in-depth guides to help you make better data-driven decisions. We've spent years working with marketing teams of all sizes.

    Related Articles