Skip to content
What's After the Movie?
Plot summary

Pi (1998) Plot Summary & Timeline

Pi (1998) movie poster

Pi is a 1998 sci-fi and drama film directed by Darren Aronofsky, running 1 hour 24 minutes. This page retells the whole story in 753 words (about 3 minutes to read) and covers 15 key events in order, 4 characters, where and when it is set and 3 themes. Looking for the cast, ratings and where to stream it? See the movie page for Pi.

to read the plot summary
3 min
key events in the timeline
15
characters profiled
4
themes explained
3
Loading streaming availability…
Pi (1998) movie poster
Released
Runtime
1h 24m
Director
Darren Aronofsky
Genres
Sci-Fi, Drama, Thriller
Original language
English
No spoilers

What Is Pi About?

The premise of Pi in 338 words, with nothing given away. The full story follows below.

In the cramped confines of a Chinatown apartment, the city’s relentless hum serves as both soundtrack and antagonist to a solitary quest. The world of the film is a tightly wound blend of gritty urban realism and fever‑dream abstraction, where the glow of computer screens competes with the night‑time glow of street lamps, and every hallway seems to echo with the faint tick of an unseen clock. The tone is lean, tense, and oddly lyrical, inviting viewers to feel the thin line between rigorous logic and unraveling madness.

Maximilian Cohen is a gifted but haunted mathematician whose life revolves around an all‑consuming belief: that the infinite digits of Pi conceal the very code of the universe. Suffering from lingering physical pain and a deep‑seated paranoia, he spends his days in a solitary routine of equations, sleepless nights, and fleeting moments of clarity that feel both intoxicating and terrifying. His obsession isolates him, yet it also fuels an unquenchable curiosity that drives the film’s restless energy.

Amidst his self‑imposed exile, Jenna appears—a bright, inquisitive youngster who offers a rare glimpse of ordinary connection, reminding him that numbers also belong to the world outside his calculations. Sol Robeson, his former professor, represents a bridge to the academic past, whispering warnings about the perils of chasing patterns that may never resolve. In a neighboring coffee shop, Lenny Meyer introduces a mystical strand, suggesting that ancient texts may harbor the same numerical secrets Max pursues, hinting at a convergence of mathematics, finance, and faith. These relationships create a fragile network that steadies and destabilizes him in equal measure.

The film follows the atmospheric descent of a mind teetering on the edge of revelation and ruin. As Max’s pursuit deepens, the boundaries between reality and delusion blur, casting a shadow over his sanity and the world around him. The story asks whether the ultimate understanding of the universe is a gift, a curse, or perhaps something far more elusive—leaving the audience to wonder what lies beyond the infinite digits that haunt his thoughts.

Full plot

What Happens in Pi?

The complete story of Pi, from the first scene to the last, in 753 words (about 3 minutes). Spoilers throughout. Names in the text link to 2 cast member pages.

Spoilers ahead

The film revolves around Maximilian Cohen, a brilliant yet troubled mathematical genius portrayed by Sean Gullette. Max, who currently finds himself without a job, believes that the secrets of the universe can be unraveled through numbers. He takes on the challenge of predicting stock market patterns, using his intricate knowledge and his homemade supercomputer, Euclid, in the confines of his cramped New York City apartment located in Chinatown.

Through a captivating narrative, the film opens with Max recalling a traumatic childhood memory where he defied his mother’s warning and tried to stare directly at the sun. This reckless decision led to lasting damage to his eyes, and although they healed, they brought with them severe headaches that haunt him to this day. These debilitating pains push him to the brink of insanity and often leave him incapacitated. Alongside these physical ailments, Max wrestles with extreme paranoia and experiences unsettling hallucinations, making it increasingly difficult to distinguish between reality and the manifestations of his tortured mind.

Despite his isolation, Max finds a brief connection with Jenna, a curious young girl played by Kristyn Mae-Anne Lao, who is intrigued by his mathematical genius. As he works tirelessly on his stock predictions, a catastrophic event occurs when Euclid crashes and spits out a seemingly random 216-digit number right before it fails. Dismayed, Max discards the printout, only to discover the next morning that the stock predictions made prior to the crash were astonishingly accurate. He desperately scours the park’s trash bins for the printout but comes up empty-handed.

Max’s interactions remain limited, mostly involving a young neighbor, Devi (played by Samia Shoaib). His solitary existence is occasionally interrupted by visits to Sol Robeson, his former mathematics professor, portrayed by Mark Margolis. Sol, who is now immobile and reliant on others for care, had once been a pioneer in studying the mathematical constant Pi. As they reconnect, Sol grows uneasy when Max brings up the enigmatic 216-digit number. He appears to have had a similar experience years earlier, leading him to caution Max about the dangers of pursuing the number’s meaning.

In a twist of fate, Max meets Lenny Meyer at a coffee shop—a Hasidic Jew researching mathematical concepts within the Torah. Lenny shows Max an intriguing concept called Gematria, correlating Hebrew letters to numerical values and suggesting that the Torah encodes a profound message in numbers. Drawn in by this idea, Max realizes that the number they seek overlaps with some of his existing numeric theories.

The plot thickens as shadowy figures from a Wall Street firm, led by Marcy Dawson (Pamela Hart), take an interest in Max’s discoveries. She strategically offers him a high-performance computer chip, “Ming Mecca,” to entice him into commercializing his research. Although Max declines her offer, the lure of potential breakthroughs into understanding the Torah proves too tempting. After using the chip, he finds himself overwhelmed by visions of stock market patterns and increasingly intense migraines, culminating in a grotesque vein-like protrusion on his temple.

Guided by Sol’s cryptic warnings about the 216-digit number’s significance, tension builds as Max encounters both Marcy’s agents and Lenny, each trying to extract the secrets he’s uncovered. Upon capture, Max’s life hangs by a thread when Lenny, who initially appears to be a friend, tries to wrestle the number from him, resulting in Max being knocked unconscious.

Upon awakening, Max is introduced to Rabbi Cohen (Stephen Pearlman), a leader amongst Kabbalists, who reveal that the number could herald a new messianic age. However, Max zealously asserts that the knowledge belongs solely to him. In a frantic turn of events, he learns of Sol’s passing and is driven to uncover his final insights, eventually finding scribblings leading back to his own calculations.

As the narrative spirals into madness, Max’s compulsion to connect the dots leads to destructive behavior, as he believes the headache and the number are intertwined. In a moment of profound despair, he partners with insanity, self-inflicting harm in an attempt to rid himself of the burdens of his knowledge. Ultimately, he burns the paper containing the number and resorts to trepanning himself in an act of desperation.

In a poignant conclusion, Max’s life takes an unexpected turn when Jenna approaches him in a park, innocently posing mathematical questions. With a newfound sense of tranquility, Max smiles and admits that he no longer knows the answer. No longer grappling with complex equations or haunted by his former anxieties, he sits peacefully on a park bench, embracing the simplicity of existence amidst the rustling trees.

Timeline

Pi Timeline: Every Key Event in Order

15 key events in the order they happen, from “Childhood Trauma” to “Finding Peace”. 4 events name a place, across 3 locations.

  1. 1

    Childhood Trauma

    Max recalls a traumatic childhood event where he defied his mother's warning and stared directly at the sun. This reckless act led to lasting damage to his eyes, eventually causing him severe headaches that haunt him into adulthood.

  2. 2

    Isolation in Chinatown

    Now an adult, Max is isolated in his cramped New York City apartment located in Chinatown. He spends his days obsessively working on predicting stock market patterns with his homemade supercomputer, Euclid.

    Where:Chinatown, New York City

  3. 3

    The Crash of Euclid

    While working late one night, Euclid crashes, producing a seemingly random 216-digit number just before it fails. Max is dismayed and discards the printout without realizing its future significance.

  4. 4

    Unexpected Accuracy

    The next morning, Max discovers that the stock predictions he created prior to Euclid’s crash were astonishingly accurate. This realization drives him to search for the discarded printout in trash bins around the park, but he finds nothing.

    Where:Park

  5. 5

    Meeting Jenna

    Despite his isolation, Max develops a brief connection with Jenna, a curious young girl fascinated by his mathematical genius. Their interactions offer him a fleeting glimpse of human connection amidst his troubled existence.

  6. 6

    Reconnecting with Sol

    Max visits Sol Robeson, his former mathematics professor, who warns him against the dangers of pursuing the 216-digit number. Sol's concern hints at a dark history connected to the number that intrigues Max more than it frightens him.

  7. 7

    Introduction to Gematria

    During a chance encounter at a coffee shop, Max meets Lenny Meyer, who introduces him to Gematria—an intriguing concept that correlates Hebrew letters with numerical values. This connection opens Max's mind to the idea that the Torah encodes profound messages in numbers.

    Where:Coffee Shop

  8. 8

    Corporate Interest

    Shadowy figures from a Wall Street firm, led by Marcy Dawson, take notice of Max's research. She presents him with an enticing offer involving a high-performance computer chip, pressing him to commercialize his findings.

  9. 9

    Overwhelmed by Visions

    After accepting the computer chip, Max becomes overwhelmed by intense migraine headaches and surreal visions of stock market patterns. The pressure mounts as he struggles to balance his sanity with his ambitions.

  10. 10

    Betrayal by Lenny

    Max’s life takes a dangerous turn when Lenny, who initially seemed like an ally, forcibly tries to extract the secrets of the number from him. This betrayal culminates in an intense confrontation that leaves Max unconscious.

Show the other 5 events of Pi
  1. 11

    Visions of Messianic Age

    Upon awakening, Max is introduced to Rabbi Cohen, who reveals that the 216-digit number may signify the onset of a new messianic age. Max's determination to keep the knowledge for himself leads to internal conflict.

  2. 12

    Sol's Death and Insights

    Following the tragic news of Sol's passing, Max is driven to uncover the professor's final insights. He discovers scribbles that connect with his own calculations, further deepening his obsession with the number.

  3. 13

    Descent into Madness

    Caught in a web of paranoia and pain, Max begins self-destructive behavior, believing his physical torment is linked to his obsession with the 216-digit number. His desperate attempts to find relief lead him to drastic measures.

  4. 14

    Burning the Number

    In a final act of despair and madness, Max burns the paper containing the significant number. This act represents both a release and a surrender to the chaos that has consumed him over time.

  5. 15

    Finding Peace

    In a poignant conclusion, Max sits peacefully on a park bench after an encounter with Jenna, who innocently asks him mathematical questions. Embracing the simplicity of existence, he smiles and admits he no longer knows the answers, suggesting a newfound tranquility.

    Where:Park

Characters

Who Are the Main Characters in Pi?

4 characters, among them Maximilian Cohen (Sean Gullette), Sol Robeson (Mark Margolis) and Lenny Meyer: who each one is and the part they play in the story. 2 of them link to the actor’s page.

  • MC

    Maximilian Cohen (Sean Gullette)

    Played by Sean Gullette

    Maximilian is a reclusive mathematical genius, whose brilliance is overshadowed by paranoia and intense physical pain. His quest to unravel the secrets of the universe through numbers reflects his desperate need for order in a chaotic world. As the narrative unfolds, his character embodies the struggle between the pursuit of knowledge and its devastating consequences.

    • 🧠 Genius
    • 🥴 Paranoid
    • 🔍 Obsessed
  • Mark Margolis as Sol Robeson (Mark Margolis) in Pi

    Sol Robeson (Mark Margolis)

    Played by Mark Margolis

    Sol is a former mathematics professor and a mentor to Max, who represents the intellectual legacy of studying Pi. Despite his physical limitations, Sol embodies the cautionary voice of experience, warning Max about the perils of his obsessive journey. He serves as a poignant reminder of the fragility of knowledge and the importance of humility.

    • 👴 Mentor
    • ⚖️ Cautionary
    • 📐 Wise
  • LM

    Lenny Meyer

    Lenny is a Hasidic Jew who introduces Max to Gematria, highlighting the intersection of mathematics and spirituality. His character prompts Max to consider the deeper implications of numbers, leading to a critical turning point in the narrative. Lenny's approachable demeanor and intellect contrast with the darker forces pursuing Max.

    • 🧙‍♂️ Spiritual
    • 📘 Knowledgeable
    • 📈 Cautious
  • J

    Jenna

    Jenna is a curious young girl who represents innocence and serves as a momentary respite from Max's isolation. Her genuine interest in mathematics highlights the beauty of simple questions and understanding. Through her, Max experiences a brief connection that anchors him amidst his spiraling madness.

    • 👧 Innocent
    • 🌱 Curious
    • 💬 Connective
Setting

Where and When Is Pi Set?

Pi is set in Chinatown, New York City and Wall Street. Here is why the place matters to the story.

When

The film is contemporary, capturing the early 2000s vibe with its themes of technology and stock market speculation. This era is marked by the rise of personal computing, leading to a cultural obsession with numbers and algorithms, as highlighted through Max's obsessive pursuits.

Where

Chinatown, New York City, Wall Street

The film is set mostly in Chinatown, a vibrant neighborhood in New York City known for its rich culture and bustling atmosphere. This cramped apartment setting reflects the intense mental state of Max, providing a stark contrast to the vastness of Wall Street, a symbol of financial power and ambition. Together, these locations serve as backgrounds for Max's mathematical quest and precarious mental state.

  • 🌆 City
  • 🏙️ Urban
Themes

What Are the Themes of Pi?

3 ideas the story keeps returning to, among them Obsession, Madness and Knowledge.

  1. 01

    Obsession

    The theme of obsession runs throughout the movie, particularly seen in Max's relentless pursuit of the 216-digit number. His fixation on uncovering universal truths through mathematics ultimately leads to his psychological unraveling, highlighting the dangers of intellectual obsession. The desire for understanding clashes with the mental toll it takes, showcasing a tragic struggle.

  2. 02

    Madness

    Madness is portrayed as a central theme in the film, depicting the fine line between genius and insanity. Max's severe migraines and hallucinations represent the corrosive effects of his obsessive quest for knowledge. This descent into madness serves as a cautionary tale about the perils of overly rigid thinking and the psychological repercussions of deep-seated trauma.

  3. 03

    Knowledge

    The quest for knowledge emerges as a prominent theme, explored through Max's interactions with mathematics and various mentors. His journey demonstrates how the pursuit of knowledge can provide enlightenment yet simultaneously lead to existential dread. This duality emphasizes the complexity of understanding and the implications when knowledge becomes an obsession.

Tone & mood

What Kind of Film Is Pi?

Dark in tone, with steady pacing and a complex story, going by the plot summary.

Tone
Dark
Pacing
Steady
Story
Complex
Intensity
High
Ending
Bittersweet

A relentlessly tense and claustrophobic descent into obsession and madness, marked by paranoia, debilitating headaches, and hallucinations that blur the boundaries between mathematical truth and psychological torment.

  • oppressive
  • paranoid
  • claustrophobic
  • anxious
  • disturbing
  • unhinged
  • mathematical obsession
  • genius and madness
  • search for truth
  • psychological unraveling

Content notes: self harm, psychological trauma, graphic depiction of illness, mental health crisis.

Quiz

How well do you remember Pi? Test yourself on the story.

Take the quiz
Loading streaming availability…

Missing a Movie Plot Summary?

Tell us which film you want explained next: the full story, the timeline, the characters and the ending.

Request a summary
FAQ

Pi Plot Questions

5 quick answers about Pi, taken from the plot summary, character guide and setting on this page and the film’s credits.

What is Pi about?

In the cramped confines of a Chinatown apartment, the city’s relentless hum serves as both soundtrack and antagonist to a solitary quest. The world of the film is a tightly wound blend of gritty urban realism and fever‑dream abstraction, where the glow of computer screens competes with the…

Read the full plot summary

When and where does Pi take place?

Pi is set in Chinatown, New York City and Wall Street. The film is contemporary, capturing the early 2000s vibe with its themes of technology and stock market speculation.

The setting explained

Who are the main characters in Pi?

The story follows Maximilian Cohen (Sean Gullette) (played by Sean Gullette), Sol Robeson (Mark Margolis) (played by Mark Margolis), Lenny Meyer and Jenna.

All the characters

What are the main themes of Pi?

The summary picks out 3 themes: Obsession, Madness and Knowledge.

The themes explained

Who directed Pi?

Pi (1998) was directed by Darren Aronofsky and runs 1 hour 24 minutes.

Darren Aronofsky’s films

Coming soon to your phone

The Plot Explained Movie Summary App

From blockbusters to hidden gems: plot summaries, endings explained and timelines on your phone. Save your favorites and never miss a twist again.

Be the first to know when it launches. Your email stays private, always. Learn more about the app