Formalized by psychologists Amos Tversky and Daniel Kahneman in their 1974 paper "Judgment under Uncertainty: Heuristics and Biases." They showed experimentally that judgments drift toward numbers with zero logical connection — spin a rigged wheel, then ask what percentage of UN members are African, and answers cluster near the number just seen.
Pricing is anchoring's most blatant use. Show "$99" alone and that's the reference point; show "$199 → $99" and $199 becomes the anchor, making $99 feel like a steal — independent of actual cost or market price.
Inflating the anchor artificially (a "was" price that was never real) crosses into dark-pattern territory. Honest anchoring rests on real prior prices or genuine competitor comparisons.
The demo shows the struck-through anchor appearing first, then the final price landing with a "feels cheaper" cue.
When to use
Before showing a price or discount, verify the anchor is real. A fabricated "original" price erodes trust and is regulated in many jurisdictions.