How much is GitHub worth?
Microsoft paid $7.5 billion for GitHub in Microsoft stock, in a deal announced on June 4, 2018. By July 2024, GitHub was bringing in $2 billion a year. It has no share price of its own, because Microsoft owns it. Your own GitHub has a figure too, and it comes from your code.
| When | What was said | Said by |
|---|---|---|
| June 2018 | $7.5 billion in stock for GitHub, home to more than 28 million developers | Microsoft |
| October 2022 | $1 billion in annual recurring revenue, more than 90 million people using it | Microsoft |
| July 2024 | $2 billion annual revenue run rate | Microsoft |
| October 2025 | More than 180 million developers and 630 million repos | GitHub |
Microsoft paid $7.5 billion in its own stock
Microsoft announced the deal on June 4, 2018. GitHub had more than 28 million developers then, so Microsoft paid under $268 for each one. Microsoft picked Nat Friedman, one of its corporate vice presidents, as GitHub's CEO and said GitHub would keep operating independently.
GitHub's revenue doubled between 2022 and 2024
In October 2022, Satya Nadella told investors GitHub had reached $1 billion in annual recurring revenue, four years after the purchase. In July 2024 he put its annual revenue run rate at $2 billion. Copilot accounted for over 40% of GitHub's revenue growth that year, and he said it was already a bigger business than all of GitHub was when Microsoft bought it.
The site kept growing too. GitHub's Octoverse report of October 2025 counts more than 180 million developers and 630 million repos, 121 million of them new in the year to August 2025.
GitHub has no stock price of its own
GitHub isn't a listed company, so there's no market price to look up. Microsoft reports GitHub's numbers inside its own results. Beyond the 2018 price and the revenue above, any figure for GitHub today is an estimate.
Your own GitHub is priced repo by repo
Type your username on the home page and we count the code in your public, original repos. We estimate each repo's git history from its commit count, then price both at the rates Pangea publishes: $100 per million tokens of code and $40 per million tokens of history. Each repo gets its own figure and a range, and they add up to your total.
History usually pays more than the code itself, so an old repo with years of commits adds up fast. How it's counted has the method and its error. If you want to sell, can you sell a GitHub repo? covers which repos sell and where.
Questions
How much did Microsoft pay for GitHub?
$7.5 billion, paid in Microsoft stock. The deal was announced on June 4, 2018.
What is GitHub's market value today?
Microsoft doesn't publish one. GitHub sits inside Microsoft, so the public figures are the 2018 price and the revenue Microsoft reports on its earnings calls: a $2 billion annual run rate in July 2024.
Can I buy GitHub stock?
GitHub isn't listed on any exchange. Microsoft owns it, so its results show up in Microsoft's.
Is my GitHub figure what I'd get paid?
Public code can't be sold, since anyone can already clone it. The figure is what your code would list for if it were private. Private repos you own that were never public can be licensed to AI labs.
Do stars and followers change my figure?
AI labs price code by its tokens, so stars, forks and followers don't move it.
Sources
- Microsoft's announcement of the GitHub deal, June 4, 2018, checked November 20, 2026.
- Microsoft's earnings call of October 25, 2022, checked November 20, 2026.
- Microsoft's earnings call of July 30, 2024, checked November 20, 2026.
- GitHub's Octoverse report, October 28, 2025, checked November 20, 2026.
- Pangea's code licensing page for the rates, checked November 20, 2026.