Social data

Read the nonmutual percentage with the right denominator

The checker’s displayed nonmutual percentage divides visible non-following-back accounts by total unique following accounts. Hidden profiles can therefore change the visible percentage without changing the supplied relationship data.

Worked example

Node.js example · save as example.mjs and run node example.mjs

const totalFollowing = 10;
const visibleNonmutual = 3;
const hiddenNonmutual = 2;
console.log(Math.round(visibleNonmutual / totalFollowing * 100));
console.log(Math.round((visibleNonmutual + hiddenNonmutual) / totalFollowing * 100));

How it works

The example produces a visible rate of 30 percent and an all-record rate of 50 percent. Both calculations can be mathematically correct while answering different questions. A useful report states the numerator, denominator, and filtering rule together.

Limits and mistakes

Rounding hides small differences, and an incomplete import can distort either calculation. The checker guards a zero following count rather than dividing by zero. Do not compare percentages across snapshots with different hidden filters or missing parts.

Check the result

Expect 30 and 50. Reconcile visible and hidden account counts with the total following map before interpreting a percentage as a platform-wide relationship statistic.

Sources

Reference documentation for the behavior used in this guide: