What it is
At any moment, buyers and sellers of an asset disagree slightly about price. The highest price any buyer is currently offering is the bid. The lowest price any seller will accept is the ask. The difference is the bid-ask spread. Encyclopedic definitions describe it as the difference between the prices quoted for an immediate sale and an immediate purchase.
Why it is a cost
If you buy and then immediately sell, you buy at the ask and sell at the bid, so you lose the spread. A trader who is willing to wait can try to buy at the bid with a limit order, but is not guaranteed to be filled. Market makers earn the spread as payment for standing ready to trade, and the spread compensates them for risk.
What it says about a market
Spreads are usually small for assets with many buyers, sellers and a lot of trading, because competition pushes quotes together. They are wide for small, rarely traded assets, where few participants quote prices and each trade moves the market. Spreads also widen in times of high volatility or uncertainty, when market makers want more protection against sudden moves.
In crypto
Large coins on big exchanges often trade with very narrow spreads. Smaller coins and tokens can have spreads of several percent. On pool-based decentralised exchanges, there is no quoted bid and ask, but price impact and trading fees play the same role: they are the extra cost of trading now. Compare them across venues before trading, especially for lower-volume assets.
Using it
Look at the spread before you place a market order. If it is wide, a limit order or a smaller size may save you a meaningful amount, and a very wide spread is a sign to double-check that you are comfortable with the market.