> For the complete documentation index, see [llms.txt](https://aaronice.gitbook.io/system-design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aaronice.gitbook.io/system-design/system-design-problems/surge-pricing.md).

# Design Surge Pricing

## Reference

[Uber: How surge pricing works](https://www.uber.com/en-IN/drive/partner-app/how-surge-works/)

Wikipedia: <https://en.wikipedia.org/wiki/Dynamic_pricing>

<https://www.quora.com/How-would-you-implement-surge-pricing-using-data-structures>

[How Uber surge pricing really works - Northwestern University](https://canvas.northwestern.edu/courses/38559/files/2470352/download?download_frd=1)\`

<https://www.fastcompany.com/3052703/the-secrets-of-ubers-mysterious-surge-pricing-algorithm-revealed>
