Mathematics might seem like a dry subject, but when you mix it with a dash of comedy, it can become an absolute riot. This curated list of ten films showcases how numbers can be the source of endless laughter. Whether it's through quirky characters, absurd situations, or clever plot twists, these films prove that maths can indeed be fun. So, grab your popcorn and get ready to chuckle your way through these mathematical misadventures.

Good Will Hunting (1997)
Description: While more of a drama, the film has comedic elements in the interactions between Will Hunting and his therapist, as well as in the portrayal of Will's genius-level mathematical skills.
Fact: The screenplay was written by Matt Damon and Ben Affleck, who also star in the film.


A Beautiful Mind (2001)
Description: Although primarily a drama, John Nash's eccentricities and the portrayal of his mathematical genius provide comedic relief, especially in scenes where he interacts with his imaginary friends.
Fact: The film won four Oscars, including Best Picture.


21 (2008)
Description: This film tells the true story of MIT students who use their mathematical skills to count cards in Las Vegas. The blend of high-stakes gambling and mathematical genius creates a comedic tension that's both thrilling and funny.
Fact: The film is based on the book "Bringing Down the House" by Ben Mezrich, which itself is based on real events.


The Man Who Knew Infinity (2015)
Description: This biographical drama about Indian mathematician Srinivasa Ramanujan has moments of humor, especially in the cultural clashes and the genius's unconventional methods of solving problems.
Fact: Dev Patel, who plays Ramanujan, had to learn complex mathematical concepts for the role.


The Imitation Game (2014)
Description: While not strictly a comedy, this film about Alan Turing's life during WWII has moments of light-heartedness amidst the tension. Turing's eccentricities and the team's quirky dynamics bring a humorous touch to the serious subject of codebreaking.
Fact: Benedict Cumberbatch, who plays Turing, is known for his love of maths and even studied it at university.


The Theory of Everything (2014)
Description: This biographical film about Stephen Hawking includes humorous moments, particularly in the depiction of his early life and his relationship with his wife, Jane.
Fact: Eddie Redmayne won an Oscar for his portrayal of Hawking.


Pi (1998)
Description: This psychological thriller has dark humor in its portrayal of a mathematician's obsession with finding patterns in everything, including the stock market.
Fact: The film was made on a budget of just $60,


The Number 23 (2007)
Description: While more of a thriller, the film's obsession with the number 23 and its mathematical significance provides a quirky, almost comedic element to the narrative.
Fact: Jim Carrey, known for his comedic roles, takes on a more serious part here.


The Oxford Murders (2008)
Description: This mystery film set in Oxford University has a mathematical twist, with the plot revolving around logic puzzles and mathematical theories, providing a comedic backdrop to the suspense.
Fact: The film was shot on location at Oxford University.


Fermat's Room (2007)
Description: This Spanish thriller with English dubbing involves four mathematicians trapped in a room solving mathematical puzzles to survive, with dark humor in the absurdity of their situation.
Fact: The film was inspired by the famous unsolved mathematical problem, Fermat's Last Theorem.
