How Hacker News Ranks Stories
A rank score calculator · Independent reference · Last reviewed November 2026
Anyone who posts a link to Hacker News sees the same pattern: a story that gathers a lot of points fast climbs the front page, then slides down even while it keeps getting votes. The reason is a ranking formula that rewards points and punishes age. An early version of the site’s open-source code ranked each story by this score:
score = (points − 1) ÷ (age in hours + 2) ^ 1.8
Points raise the score in a straight line. Age lowers it much faster, because the age term is raised to a power above 1. The two added hours keep a brand-new story from dividing by a number close to zero. This page lets you plug in numbers and compare two stories.
Rank score calculator
Method: score = (points − 1) ÷ (age + 2)^gravity, computed in your browser with floating-point arithmetic. A story with 1 point scores 0. Nothing is sent or stored.
How fast a score decays
The table applies the formula to two fixed point totals. These values are formula output, not measurements of real stories.
| Story age (hours) | Score at 100 points | Score at 300 points |
|---|---|---|
| 1 | 13.70 | 41.39 |
| 2 | 8.16 | 24.66 |
| 3 | 5.46 | 16.50 |
| 6 | 2.34 | 7.08 |
| 12 | 0.86 | 2.59 |
| 24 | 0.28 | 0.85 |
A 100-point story at 6 hours scores 2.34, which is lower than a fresh story with just 10 points (score 2.59 at age 0). That is the effect people describe when they say a story “fell off the page”: its score is not low because people stopped liking it, but because a newer story needs far fewer points to beat it.
A worked comparison
The calculator starts with two example stories. Story 1 has 100 points and is 3 hours old: (100 − 1) ÷ (3 + 2)^1.8 = 99 ÷ 18.1 = 5.46. Story 2 has 250 points and is 10 hours old: 249 ÷ 12^1.8 = 249 ÷ 87.6 = 2.84. Although Story 2 has two and a half times the points, Story 1 ranks higher because it is seven hours younger. Change the ages to 3 and 4 hours and the order flips, since the extra points then outweigh one hour of age.
Notes on using the number
It is an illustration, not a forecast
The live site applies adjustments that are not published, for example for certain kinds of submissions and for moderator action. Do not use this score to predict where a real story will sit.
Gravity changes everything
Raise the gravity in the calculator to 2.5 and old stories sink faster; lower it to 1 and age matters less. The number 1.8 describes only the early code.
What it says about posting
Because early points count so much, the first hours decide most of the outcome. The formula describes ranking only; it says nothing about whether a story is good or true.
Frequently asked questions
What is the Hacker News ranking formula?
An early open-source version of the Hacker News code ranked stories by (points − 1) divided by (age in hours + 2) raised to the power 1.8. Higher scores rank higher.
Is this the formula the live site still uses?
Not exactly. The live site applies further adjustments that are not public, so the calculator is an illustration of the idea, not a prediction of any real story’s position.
Why does age matter so much?
The age term is raised to a power above 1, so the score falls faster than the age grows. A story needs a steady flow of new points to stay up.
Does this page show live Hacker News stories?
No. It loads no feeds and links to no stories. You type in the points and the age yourself.
About this site
i13.buzz is an independent informational site and is not connected to Hacker News or its operators. It sells nothing, has no accounts and shows no ads. The formula comes from the early open-source Hacker News code; the tables are that formula applied to round example numbers. Last reviewed: November 2026. Educational content, not professional advice.