Three supply numbers
People often say supply without saying which. The circulating supply is the number of coins that have been issued and are in the market. The total supply includes coins that exist but may be locked, escrowed or otherwise not tradeable yet. The maximum supply is the highest number that will ever exist, if the protocol has a cap. For a mined coin, circulating and total are usually the same, because every coin issued is spendable once mature.
Why it matters
Market capitalisation is price multiplied by circulating supply, so the figure you use changes the result. A coin with a low price and enormous supply can have a large market cap, while a coin with a high price and small supply can have a small one. Comparing prices alone, without supply, says little about size.
How to measure it
For chains with a defined issuance schedule, supply follows from the block height. Bitcoin's schedule is precise enough that supply can be computed exactly from the height, and for other chains a node's data shows the total coins issued. Scrypt Price reads supply from our own full nodes through Scrypt Explorer, and derives Bitcoin's exactly from the schedule and height. Tokens on other platforms rely on the issuer or a contract's reported total, which can be wrong or manipulated.
What the number leaves out
Lost coins, such as those sent to addresses nobody controls, are generally still counted. Coins held in large wallets by founders or treasuries are counted although they may not trade. Wrapped or bridged coins can be counted twice if tools add the original and the wrapped version. Treat supply figures as an approximation and check how the source defines them.