Glossary · Pools

PPLNS (pay per last N shares)

By the CloudMineCrypto teamUpdated Also called pay per last N shares

Definition

PPLNS, or pay per last N shares, is a mining pool payout method that splits each block the pool finds among the last N shares submitted before it. Miners share the pool’s luck: more blocks means more pay, and a dry spell means less.

Part of the Bitcoin mining glossary, 88 terms in plain English.

PPLNS pays the last N shares before a block

last N shares get paid
â‚¿
older sharesblock found
Your shares (5 of 28 in the window)Other miners
When a block lands, its reward is split over the shares in the window, so here you’d get 5 of 28 parts. Faded shares fell out of the window before a block came, so they earn nothing this time.

How does PPLNS work?

The pool keeps a sliding window of its most recent N shares. When it finds a block, the reward in that block, minus the pool fee, is split across the shares in the window. Your cut is simply your shares in the window divided by N.

Shares that slide out of the window before a block arrives earn nothing that time. Over many blocks it evens out, and on average each share is paid about what it would be under PPS. Pools often set N so the window spans more than one expected block, which smooths things a little.

A worked example

Say 5% of the shares in the window are yours and the pool charges an example fee of 1%. An average block today is worth about 3.145 BTC (live estimate), so when the pool finds one you get 5% of 99% of it: about 0.15567750BTC.

Because the block’s real fees are split, a block packed with high-fee transactions pays more than average. Under FPPS you’d get the average either way.

Why use a window at all?

Older schemes paid by round, from one block to the next. Miners learned to hop to pools early in a round, when their shares were worth most, and leave later. With a window, a share is worth the same on average whenever it’s sent, so hopping gains nothing. It also means a new miner starts with no shares in the window, and payouts ramp up over the first stretch.

Who carries the variance?

You carry itThe pool carries it
  1. Solo

    All the luck is yours

  2. PPLNS

    You ride the pool’s luck

  3. PPS+

    Subsidy fixed, fees follow luck

  4. PPS / FPPS

    The pool carries it

The more luck the pool takes off you, the higher the fee it usually charges for it.

Sources

  1. Comparison of mining pools: reward types explained · Bitcoin Wiki
  2. Pooled mining · Bitcoin Wiki
  3. Mining guide: solo and pool mining · Bitcoin developer documentation

Live figures on this page come from the CloudMineCrypto API and public chain data, refreshed regularly, and are labelled where they appear. Educational only, not financial advice.

Now watch mining happen.

Claim a free 8-hour mining plan in the CloudMineCrypto app and watch your BTC balance grow from live network data. Withdraw to your own wallet, Lightning included. Rewards are estimates.