He taught himself to code on a teletype bought with rummage-sale money, built Microsoft, and is now racing to give almost everything away before a 2045 deadline he set for himself.
In the fall of 1968, a cluster of boys crowded around a clattering teletype in a small room at Lakeside School in Seattle. The machine dialed out over a phone line to a distant GE-635 mainframe, and every minute of connection cost real money, paid for by the school's Mothers' Club out of rummage-sale proceeds. To save time, the students typed their programs offline onto inch-wide paper tape, then fed it into the terminal at ten characters per second.
One of them was a thirteen-year-old eighth grader, small for his age and determined not to be outdone by the older kids. His first program added two numbers in four lines of BASIC. His second played tic-tac-toe and taught him that a computer needs every step spelled out. A sophomore named Paul Allen sized him up and threw down a challenge: if you're so smart, figure this thing out.
Bill Gates figured it out. Then he spent the next half century turning that lesson, patient and literal and one instruction at a time, into the software that ran most of the world's personal computers, and later into a philanthropy that has bet its entire future on vaccines, mosquitoes and a self-imposed expiration date.
CHAPTER 01The Paper-Tape Years
William Henry Gates III, known in the family as "Trey," was born in Seattle on October 28, 1955, the second of three children and the only son of attorney William H. Gates Sr. and civic leader Mary Gates. His parents sent him to Lakeside partly because they worried he needed a smaller, more demanding setting. The terminal room became his real classroom.
The lab was, in his own later description, a scrum of competitive teenage boys. One instructor's runaway infinite loop burned through more than $100 of the school's computer budget before anyone noticed. Gates wrote a lunar lander game drawn in dashes and asterisks. By 17, Lakeside was paying him to write the program that scheduled its classes.
His closest friend was Kent Evans, the classmate who first pulled him toward business, economics and history. Evans died at 17 in a mountain-climbing accident. Decades later Gates called him "by far my closest friend," the person he brainstormed with every night.
With Allen and a University of Washington engineering student named Paul Gilbert, Gates also launched Traf-O-Data, a venture to process the punched paper tapes that roadside traffic counters produced, using a machine built around Intel's 8008 chip. The big demo went badly. When the county official arrived, Gates recalled, "it didn't work." The company made a little money, then faded once the State of Washington began offering the service free. The lesson about hardware, software and timing stuck.
CHAPTER 02Selling Software That Didn't Exist Yet
Gates scored 1590 out of 1600 on the SAT and enrolled at Harvard in the fall of 1973. At the end of 1974, Popular Electronics put a build-it-yourself microcomputer, the Altair 8800, on its cover. Gates and Allen saw it as proof that computing was about to become cheap, personal and everywhere.
They contacted the Altair's maker, MITS, in Albuquerque and offered a version of the BASIC language for the machine. Then they spent roughly two months in Harvard's computer lab writing it. Allen flew to New Mexico for the demonstration. It worked. When the contract was signed, the two founders received $3,000.
Their partnership, first spelled "Micro-Soft," took shape in Albuquerque in 1975. Gates left Harvard after the fall 1975 term. For Microsoft's 50th anniversary in April 2025, he posted the original Altair BASIC source on Gates Notes: 157 pages if printed, and in his words "the coolest code I've ever written."
CHAPTER 03The IBM Gamble and the Long Climb
On July 22, 1980, an IBM executive named Jack Sams visited Microsoft's offices in Bellevue, Washington. IBM needed an operating system for a personal computer it was secretly building. Microsoft bought an existing system called 86-DOS for $50,000 and reworked it as MS-DOS. By November the contract was signed, and a small language company was on its way to becoming the hub of an industry.
Microsoft incorporated on July 1, 1981, with Gates as chairman and majority shareholder. Windows arrived in November 1985. The company went public on March 13, 1986, at $21 a share, and by 1987 Gates, then 31, was a billionaire. At a 2025 talk at the Computer History Museum, he noted that Microsoft roughly doubled in size every two years for 18 years, fueled, he joked, partly by Diet Coke and Tang.
He handed the CEO job to Steve Ballmer in January 2000, worked his last full day at Microsoft in June 2008, stepped down as chairman in February 2014, and left the board on March 13, 2020, to devote more time to philanthropy, health, education and climate. He stayed on as a technology adviser to CEO Satya Nadella.
CHAPTER 04Mosquitoes on Stage
Gates began organized giving in 1994 with a foundation named for his father. In 2000 it became the Bill & Melinda Gates Foundation, now simply the Gates Foundation, and grew into the largest private philanthropy in the world. Warren Buffett has supplied about 41 percent of its money to date, according to the Associated Press.
The foundation's signature bets have been unglamorous and enormous: vaccines, malaria, polio, child nutrition, farm productivity. Through its backing of Gavi, the Vaccine Alliance, and the Global Fund, the foundation says it has helped save 82 million lives since 2000. Its 2026 annual letter estimates that about 20 million people are walking today who would otherwise have been paralyzed by polio.
Gates has a showman's streak when it helps the cause. At TED in February 2009, while talking about malaria, he opened a jar of mosquitoes in front of the audience. "There's no reason only poor people should have the experience," he said. The insects could not carry disease. The point landed anyway.
In 2010, he, Melinda French Gates and Buffett launched the Giving Pledge, inviting the world's wealthiest people to commit most of their fortunes to philanthropy.
CHAPTER 05The Reader in Chief
Gates is one of the most public readers on the planet. In January 2010 he launched Gates Notes, a personal site with sections for his travels, his current thinking and, most famously, the books he is reading. His recommendation lists became a reliable bestseller engine, and his blog's annual "Mosquito Week" became a cheeky answer to television's shark programming.
His most expensive book is not really a book. On November 11, 1994, he paid $30.8 million at auction for Leonardo da Vinci's 72-page scientific notebook then called the Codex Hammer, and restored its older name, the Codex Leicester.
In February 2025 he published Source Code: My Beginnings, the first volume of a planned memoir. In its epilogue he writes that if he were growing up today, he would probably be diagnosed on the autism spectrum. He told GeekWire he hoped anyone who feels different could see that he "was able to take that and make it a strength."
CHAPTER 06The 2045 Deadline
On May 8, 2025, during the foundation's 25th year, Gates announced that he would give away virtually all of his wealth through the Gates Foundation over the next 20 years and that the foundation would close on December 31, 2045. The plan calls for more than $200 billion in spending, roughly double what it gave away in its first quarter century. Its three stated goals are ending preventable deaths of mothers and babies, protecting the next generation from deadly infectious diseases, and lifting millions out of poverty.
Beyond the foundation, Gates chairs TerraPower, the nuclear-energy company he co-founded. In June 2024 he broke ground on its Natrium plant in Kemmerer, Wyoming, next to a coal plant scheduled to stop burning coal, calling it "a big step toward safe, abundant, zero-carbon energy."
Gates married Melinda French in 1994. They have three children, Jennifer, Rory and Phoebe, and their divorce was finalized in 2021.
His personal fortune is shrinking by design. Forbes estimated his net worth at $108 billion as of March 2026, well below his years at the top of the rich list, and the number is meant to keep falling until there is almost nothing left to count. The boy who once fed paper tape into a teletype has written one last program, and its exit condition is a world with fewer sick children in it.







