How to Calculate Social Media ROI: Formula and Examples

Social media ROI = (revenue - total cost) ÷ total cost × 100. How to count revenue with UTM links, which costs to include, worked examples and ROI vs ROAS.

A social media ROI calculation with revenue on one side and ad spend, tools, hours and content costs on the other

Guide · By PostBoost team · · Markdown

Short answer: social media ROI is (revenue from social media − total cost) ÷ total cost × 100. If social brought in 4,200 in a month and cost 2,729 (ads, tools, content and the hours your team spent), the ROI is (4,200 − 2,729) ÷ 2,729 × 100 = 53.9%. The formula is the easy part. The ROI is only as honest as its two inputs: revenue you can actually trace to social, and costs that include people's time. The free social media ROI calculator does the sum and shows which cost takes the biggest share.

The social media ROI formula

ROI (%) = (revenue − total cost) ÷ total cost × 100
total cost = ad spend + tools + (hours × hourly cost) + content + other

How to read the result:

ROI Meaning
Above 0% Social earned more than it cost. 100% means you got back twice what you spent
0% Break-even
Below 0% It cost more than it brought in in this period
No result Total cost is 0, so there is nothing to divide by

Work it out for a fixed period (a month or a quarter) and use the same period for revenue and costs. Revenue from January set against costs from March tells you nothing.

Step 1: count only revenue you can trace

Most inflated ROI figures start here. Count revenue that you can tie to social media, and leave the rest out.

  1. Tag every link. Add utm_source, utm_medium and utm_campaign to each link you share in posts, bios and ads. Google says you "should always use" those three, and that values are case sensitive: utm_source=LinkedIn and utm_source=linkedin become two rows. Our guide to UTM parameters for social media has a naming convention, and the free UTM builder applies it.
  2. Read revenue by source. In Google Analytics 4, campaign values appear under Reports → Acquisition → Traffic acquisition as session source/medium and session campaign. Your shop or CRM may have its own source report; use one place and stick to it.
  3. Value leads you sell later. If social brings leads rather than orders, multiply the leads by the value you give a lead (say, your close rate × average deal size) and write down that rule next to the ROI.
  4. Know your attribution model. GA4 now offers data-driven, "paid and organic last click" and "Google paid channels last click" attribution; Google removed first click, linear, time decay and position-based models in November 2023. Whichever you use, keep it the same every period, or your ROI moves because the rules moved.

Leave out revenue you cannot trace, or report it apart as "assisted" with the rule you used. An ROI that counts every sale in a month when you also posted is not a social media ROI.

Step 2: count every cost

Cost What goes in it Easy to forget
Ad spend Boosted posts and paid social campaigns Fees billed separately from the ad account
Tools and software Scheduler, design tool, analytics, link-in-bio Annual plans: use the share for your period
Labor Hours × what one hour costs you Time for replies, reporting and approvals
Content production Design, video, photography, freelancers Stock images and music licences
Other Giveaway prizes, events, agency retainers Shipping for influencer products

Labor is the cost most often missing. For an employee, an hourly cost is pay plus on-costs divided by working hours; for a freelancer or agency, it is what you pay. If you are pricing that work for clients, how much to charge for social media management covers the rates side.

Worked examples

Every figure below comes from the social media ROI calculator.

A small online shop, one month. 4,200 in revenue from UTM-tagged social links. Costs: 1,200 in ads, 29 for a scheduler, 300 for content, and 30 hours at 40 an hour (1,200).

Line Amount Share of cost
Ad spend 1,200 44.0%
Labor (30 h × 40) 1,200 44.0%
Content production 300 11.0%
Tools and software 29 1.1%
Total cost 2,729
Net return 1,471
ROI 53.9%

The same month without the hours. Drop labor and the total cost falls to 1,529, so the ROI jumps to 174.7%. Nothing about the month changed; only the bookkeeping did. Labor was as large a cost as the ads.

An organic-only month. No ads: 2,000 in tracked revenue, 29 for tools and 40 hours at 40 an hour (1,600). Total cost 1,629, ROI 22.8%, with labor at 98.2% of the cost. For organic social, time is almost the whole bill, so saving hours is what moves the ROI.

ROI vs ROAS

ROAS (return on ad spend) divides the revenue from ads by the ad spend alone. Google Ads writes it as a percentage: "$5 USD in sales ÷ $1 USD in ad spend x 100% = 500%". ROI subtracts every cost and divides by every cost.

In the shop example, if all 4,200 came from the ads, ROAS is 4,200 ÷ 1,200 × 100 = 350% while ROI is 53.9%. Both are correct; they answer different questions. Use ROAS to compare ad campaigns with each other, and ROI to decide whether social media as a whole pays.

What about a "good" social media ROI?

This page quotes no benchmark on purpose. Margins, sales cycles and attribution rules differ so much between businesses that a number from someone else's survey says little about yours, and most published "average social media ROI" figures do not say how revenue or time was counted. The useful comparison is your own ROI, month by month, measured the same way, and the ROI of one network or campaign against another.

Track it every month with PostBoost

PostBoost does not see your sales, so it does not calculate revenue for you. It gives you the other half of the picture, and the calculator can run from a script:

  • One link per network. Each account in a post can have its own version, so the LinkedIn version carries utm_source=linkedin and the Facebook version utm_source=facebook. The UTM guide shows the API call.
  • What each post did. Analytics shows followers, reach and engagement per account for the period you pick. Under Tools → Insights → Reports you can export a CSV with one row per published post and account (views, likes, comments, shares, engagements, engagement rate; up to 500 posts per report) or a branded PDF, to put next to your revenue numbers. The engagement rate guide explains which rate to report.
  • The same report from the API. POST /{workspaceUuid}/reports/exports with {"format": "csv", "dataset": "posts", "period": "last_month"} returns a download_url; see the reports docs.
  • ROI from code. The calculator is a free API with no token:
curl -X POST https://postboost.co/app/api/tools/social-media-roi-calculator \
  -H "Content-Type: application/json" \
  -d '{"revenue": 4200, "period": "October", "costs": {"ad_spend": 1200, "tools": 29, "labor_hours": 30, "hourly_rate": 40, "content": 300}}'

It returns total_cost 2729, net_return 1471, roi_percent 53.9, a cost_breakdown with each cost's share, and the formula written out: (4,200 − 2,729) ÷ 2,729 × 100 = 53.9%. When the total cost is 0 it returns roi_percent: null with a warning instead of a division by zero. The calculateSocialRoi reference lists every field, and the same tool is on the free tools MCP server, so an AI agent can work out last month's ROI from the numbers you give it.

Where to go next

Do this in PostBoost

Free tools for this guide

FAQ

What is the formula for social media ROI?

ROI = (revenue from social media − total cost) ÷ total cost × 100. For example, 4,200 in revenue against 2,729 in costs is (4,200 − 2,729) ÷ 2,729 × 100 = 53.9%.

What costs should I include in social media ROI?

Everything spent on social media in the same period: paid ads, tool subscriptions, content production such as design, video or freelancers, other costs, and the hours your team spent, multiplied by what one hour costs you. Time is the cost most often left out.

How do I know which revenue came from social media?

Tag every link you share with utm_source, utm_medium and utm_campaign, then read revenue by session source and medium in your analytics, for example the Traffic acquisition report in Google Analytics 4. Leave out revenue you cannot trace, or note how you estimated it.

What is the difference between ROI and ROAS?

ROAS divides the revenue from ads by the ad spend only; ROI subtracts every cost and divides by every cost. The same month can show a 350% ROAS and a 54% ROI. Use ROAS to compare ad campaigns and ROI to decide whether social media as a whole pays.

What is a good social media ROI?

There is no reliable benchmark: margins, sales cycles and attribution rules differ too much between businesses, and most published figures do not say how they were measured. Compare your own ROI period by period with the same method.

Can I calculate ROI if social media cost me nothing?

No. ROI divides by the total cost, and dividing by zero has no answer. If you paid nothing for ads or tools, the hours you spent are still a cost: add them and the ROI can be worked out.

Sources

Related guides

Try PostBoost free

API, webhooks and MCP on every plan, including Free. No credit card required.