For those who love both horror movies and the intricate world of mathematics, this collection is a unique blend of terror and numbers. These films explore themes where mathematical concepts become the backbone of suspense, fear, and sometimes, the very essence of the horror itself. Whether it's through puzzles, codes, or the cold logic of numbers, these movies offer a thrilling experience for those who appreciate the beauty of math in the most unexpected genre.

Cube (1997)
Description: A group of strangers wake up in a complex of interlocking cubical rooms, each with deadly traps. The film uses mathematical logic to navigate the cube, making it a horror film with a mathematical twist.
Fact: The film was made with a very low budget but has become a cult classic for its unique premise.


Pi (1998)
Description: A paranoid mathematician searches for a key number that will unlock the universal patterns found in nature. This film delves into the obsession with numbers, making it a perfect fit for this list.
Fact: The film was shot in black and white to give it a more mathematical, abstract feel. The director, Darren Aronofsky, used to be a math tutor.


The Butterfly Effect (2004)
Description: A young man discovers he can travel back in time to change his past, but each change has unforeseen consequences, exploring the chaos theory and the butterfly effect in a horror context.
Fact: The film was inspired by the real-life chaos theory concept, which posits that small changes can have large effects.


The Number 23 (2007)
Description: A man becomes obsessed with the number 23, finding it in every aspect of his life, leading to a psychological horror experience. The film explores numerology and its impact on human psychology.
Fact: Jim Carrey, known for his comedic roles, stars in this thriller, showcasing his versatility.


The Oxford Murders (2008)
Description: A series of murders in Oxford are linked by mathematical symbols and logic puzzles, creating a chilling mystery. The film intertwines horror with the intellectual pursuit of solving complex mathematical problems.
Fact: The film is based on a novel by Guillermo Martínez, which explores the philosophical implications of mathematics.


The Man Who Knew Infinity (2015)
Description: Although not a horror film, the life of Srinivasa Ramanujan, filled with mathematical brilliance and personal tragedy, can be seen as a psychological horror of sorts due to the intense pressure and isolation he faced.
Fact: The film was based on the biography of the same name by Robert Kanigel.


The Imitation Game (2014)
Description: While not a traditional horror film, the tension and stakes of breaking the Enigma code during WWII create a suspenseful atmosphere. The film showcases the mathematical genius of Alan Turing.
Fact: The film was nominated for eight Academy Awards, winning for Best Adapted Screenplay.


The Signal (2014)
Description: A group of friends encounter a mysterious signal that leads them into a terrifying situation involving math and technology. The film uses mathematical concepts to build its horror narrative.
Fact: The film was shot in Georgia, USA, and uses real locations to enhance its eerie atmosphere.


Fermat's Room (2007)
Description: Four mathematicians are invited to solve a puzzle in a room that begins to shrink if they fail to solve the mathematical problems presented. This film directly ties horror to mathematical challenges.
Fact: The film's title refers to Pierre de Fermat, a famous mathematician known for Fermat's Last Theorem.


The Perfect Number (2012)
Description: A mathematician discovers a pattern in a series of murders, leading him into a world of intrigue and horror. The film uses mathematical concepts to unravel the mystery.
Fact: The film was released in Brazil under the title "O Matemático," which translates to "The Mathematician."
