1843 Ada Lovelace
First Algorithm
By Andy Oberlin, Founder, AImpact Nexus · Updated November 16, 2026

Listen to this chapter
Ada Lovelace wrote the first computer algorithm for Charles Babbage's Analytical Engine, envisioning that machines could go beyond mere calculation.
Why it matters
Established the concept of programming and computational thinking a century before computers existed.
The story
Ada Lovelace is widely regarded as the first computer programmer. In 1843, she published her 'Notes' on Luigi Menabrea's article about Charles Babbage's Analytical Engine, a proposed mechanical general-purpose computer. Her notes contained what is considered to be the first algorithm intended to be processed by a machine, making her a visionary figure in the history of computing.
What was going on at the time
Lovelace's work demonstrated a conceptual leap from viewing computers as mere calculators to understanding them as machines capable of complex, symbolic manipulation. She envisioned a future where machines could create music, art, and be used for scientific purposes—a vision that prefigured the development of modern computing and artificial intelligence. Her contribution was largely unrecognized during her lifetime but gained prominence in the mid-20th century.
How it worked
Lovelace's algorithm was designed to calculate a sequence of Bernoulli numbers using the Analytical Engine. Her notes detailed a method for the engine to repeat a series of instructions, a process now known as looping. She also described how the engine could be programmed with a sequence of operations, laying the groundwork for modern software development. The algorithm included detailed step-by-step instructions that could be executed by the machine, demonstrating an understanding of programming concepts that would not be fully realized for another century.
Why it mattered
Ada Lovelace's legacy is celebrated annually on Ada Lovelace Day, which honors women in science, technology, engineering, and mathematics (STEM). The programming language Ada, developed on behalf of the United States Department of Defense, was named in her honor.
How people reacted
Lovelace's visionary work was largely unrecognized during her lifetime. Her contribution to computing was not fully appreciated until the mid-20th century, when her notes were rediscovered and recognized as containing the first computer algorithm.
What it left behind
Ada Lovelace's work serves as an inspiration for women in technology and a reminder of the long history of computing that predates modern electronic computers. Her visionary thinking about the potential of computing machines laid philosophical groundwork that would not be realized until over a century later.
In their words
“The Analytical Engine weaves algebraic patterns, just as the Jacquard loom weaves flowers and leaves.”
“The engine might compose elaborate and scientific pieces of music of any degree of complexity.”
Timeline
- 1815 Ada Lovelace born in London, England
- 1833 Met Charles Babbage and became interested in his Analytical Engine
- 1843 Published her Notes containing the first computer algorithm
- 1852 Ada Lovelace died at age 36
- 1979 US Department of Defense named the Ada programming language in her honor
Key players
- Ada Lovelace
- Charles Babbage
Did you know?
- She was the daughter of poet Lord Byron
- She predicted computers could create music and art
- Her notes were three times longer than the original article
Further reading
- Wikipedia: Ada Lovelace
Comprehensive biography and technical details of her work
- Britannica: Ada Lovelace
Historical context and significance of her contributions