Checked on 2026-11-24.
How to use it
Choose the posts to measure, for example the account's last 20, and add up their views, likes, reposts, replies and quotes. Every one of those counts is shown under the post. Type in the totals, the number of posts and the follower count, and you get two rates at once: by views, and by followers.
Leave out the posts the account reposted from others. A repost on a timeline shows the original post's counts, which say how the other account's post did, not this one's.
The formulas
An engagement rate is interactions divided by the number of people who could have interacted, as a percentage. What changes from one formula to the next is the divisor. These are the common ones, named as in Hootsuite's guide to engagement rates:
| Rate | Formula | What it tells you |
|---|---|---|
| By followers | engagements on a post ÷ followers × 100 | How much of the audience reacts; works for any public account |
| By views | engagements ÷ views × 100 | How many of the people who watched reacted |
| By reach | engagements ÷ reach × 100 | The same for the people who saw the post; reach is in the owner's insights only |
The calculator adds up the interactions of the posts you counted and divides by the number of posts, so the rate by followers is the average per post. On X the rate by views is the one closest to X's own: in the analytics an account's owner sees, X divides engagements by impressions (X's help page on the post activity dashboard).
Why X's own analytics show a higher rate
X's analytics count far more as an engagement than the public counts do. Its help page on the post activity dashboard counts every click on a post: on a link, a picture or video, the username or profile photo, or the post itself to expand it, together with likes, reposts, replies and follows. Only the account's owner sees those clicks.
A rate worked out from the public counts holds only what everyone can see, so for the same post it comes out lower than the one in X's analytics. Neither is wrong; they measure different things. Compare a public rate only with other public rates, worked out from the same counts.
What a view on X is
X shows a view count on posts, and its help page on view counts says what it counts: a view whenever the post is seen, wherever on X it is seen and whether or not the viewer follows the author. The author's own views count, a person who looks again can be counted again, and embedded posts do not add to the count. Some posts have none, such as Community posts and posts from before X counted views.
So views are not people. The rate by views is interactions per view, which is fine for comparing posts with each other, as long as you remember that a post read twice by the same person counts twice.
Get the numbers automatically
Typing in totals is fine for one account. The X profile endpoint returns the exact follower count, not the rounded one X displays, and up to 20 of the latest posts with their view, like, repost, reply, quote and bookmark counts, so you can work out both rates for any public account:
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/x/profile",
params={"username": "nasa", "limit": 20},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("No such account") # not charged
else:
res.raise_for_status()
data = res.json()["data"]
own = [p for p in data["posts"] if not p["isRepost"]]
counts = ("likeCount", "repostCount", "replyCount", "quoteCount")
engagements = sum(p[c] or 0 for p in own for c in counts)
views = sum(p["viewCount"] or 0 for p in own)
followers = data["profile"]["followerCount"]
if own and views and followers:
print(f"{engagements / views * 100:.2f}% by views")
print(f"{engagements / len(own) / followers * 100:.3f}% by followers")A request costs 1 credit. Replies are not included, a protected account returns its profile and no posts, and an account that does not exist costs nothing. To compare that with X's own API, the X API cost calculator works out what the same reads cost there.
Questions
How is an X (Twitter) engagement rate calculated?
By views: likes plus reposts plus replies plus quotes, divided by views, times 100. By followers: the same interactions per post, divided by the follower count, times 100. X's own analytics divide engagements, clicks included, by impressions.
What is a good X engagement rate?
This page does not give a benchmark, on purpose. Published averages disagree because they count different interactions, divide by different things (followers, views or reach) and sample different accounts. Compare like with like: the same account over time, or accounts of a similar size measured with the same formula over the same number of posts.
Why is my rate lower than the one in X analytics?
X's analytics count clicks as engagements: on links, media, the profile and the post itself. Only the owner sees those, so a rate from the public counts leaves them out and comes out lower.
Should reposts count?
Reposts of a post count as interactions with it. Posts that the account reposted from others are a different thing: leave them out, because they carry the original post's counts.
Does this tool send my numbers anywhere?
No. The calculation runs in your browser. Nothing you type leaves the page.
Need this for many accounts, or in your code? The Pipefetch API returns the data as JSON, one GET request at a time. Get an API key with 100 free credits, no card needed.
APIs that return this data
Guides
Similar tools
- Instagram engagement rate calculator
- TikTok engagement rate calculator
- YouTube engagement rate calculator
- LinkedIn engagement rate calculator
- Facebook engagement rate calculator
More free tools
- SRT to VTT converter
- VTT to SRT converter
- Subtitle file to plain text
- YouTube video ID finder
- YouTube timestamp link generator
- YouTube thumbnail downloader
- Email extractor
- HTML to Markdown converter
- X API cost calculator
- JSON to CSV converter
- CSV to JSON converter
- cURL to Python converter
- cURL to JavaScript fetch converter
- robots.txt tester
- Google search snippet preview
- Meta title and description length checker
- Instagram profile viewer
- Instagram profile picture viewer