• Visit
    • Buy Tickets
    • Calendar
    • After Dark Thursdays
    • Exhibits
    • Artworks on View
    • Getting Here
    • Event Rentals
  • Education
    • Professional Development Programs
    • Tools for Teaching and Learning
    • Learning About Learning
    • Community Programs
    • Educator Newsletter
  • Explore
    • Browse by Subject
    • Activities
    • Video
    • Exhibits
    • Apps
    • Blogs
    • Websites
  • About Us
    • Our Story
    • Partnerships
    • Global Collaborations
    • Explore Our Reach
    • Arts at the Exploratorium
    • Contact Us
  • Join + Support
    • Donate today!
    • Membership
    • Join our donor community
    • Engage your business
    • Attend a fundraiser
    • Explore our reach
    • Thank you to our supporters
    • Host your event
    • Volunteer
  • Store
  • Visit
    • Buy Tickets
    • Frequently Asked Questions
    • Calendar
      • Today
      • This Week
      • After Dark Thursday Nights
      • Arts
      • Conferences
      • Cinema Arts
      • Free and Community Events
      • Fundraising Events
      • Kids + Families
      • Live Webcasts
      • Members
      • Ongoing + Series
      • Special Hours and Open Mondays
      • Private Event Closures
    • Hours
    • Getting Here
    • Museum Map
    • Reduced Rates & Community Day
    • Accessibility
    • Tips for Visiting with Kids
    • How to Exploratorium
    • Exhibits
    • Tactile Dome
    • Artworks on View
    • Cinema Arts
    • Kanbar Forum
    • Black Box
    • Museum Galleries
      • Bernard and Barbro Osher Gallery 1: Human Phenomena
        • Exhibition: Science of Sharing
          • Educator Activities
        • Tactile Dome
          • 1971 Press Release
        • Black Box
        • Curator Statement
      • Gallery 2: Tinkering
        • Curator Statement
      • Bechtel Gallery 3: Seeing and Listening
        • Curator Statement
      • Gallery 4: Living Systems
        • Curator Statement
      • Gallery 5: Outdoor Exhibits
        • Curator Statement
      • Fisher Bay Observatory Gallery 6: Observing Landscapes
        • Wired Pier Environmental Field Station
        • Curator Statement
      • PlayLists
        • All PlayLists
        • A Different Light
        • “We” or “Just Me”?
        • See Yourself in Cells
        • Greatest Hits: Gallery 2
        • Greatest Hits: Gallery 3
        • Greatest Hits: Gallery 4
        • Museum Map
    • Restaurant & Café
    • School Field Trips
      • Getting Here
        • Bus Routes for Field Trips and Other Groups
      • Prices and Discounts
      • Planning Guide
      • Reservations
        • Field Trip Request Form
      • Resources
    • Groups / Tour Operators
      • Group Visit Request Form
    • Event Rentals
      • COVID-Compliant Options
      • Full Facility & Gallery Bundles
      • Fisher Bay Observatory Gallery & Terrace
      • East Gallery
      • Bechtel Central Gallery
      • Osher West Gallery
      • Kanbar Forum
      • Weddings
      • Proms and School Events
      • Daytime Meeting & Event Options
      • Happy Hour on the Water
      • Rentals FAQ
      • Event Planning Resources
      • Rental Request Form
      • Download Brochure (pdf)
    • Exploratorium Store
    • Contact Us
    • Español
    • 繁體中文
    • 简体中文
    • 한국어
    • Français
    • Deutsch
    • Português
    • 日本語
  • Education
    • Professional Development Programs
      • Teacher Institute
        • About the Teacher Institute
        • Summer Institute for Teachers
        • Teacher Induction Program
        • Leadership Program
        • Teacher Institute Research
        • CA NGSS STEM Conferences
          • NGSS STEM Conference 2020
        • Science Snacks
          • Browse by Subject
          • Special Collections
          • Science Snacks A-Z
          • NGSS Planning Tools
          • Frequently Asked Questions
        • Digital Teaching Boxes
        • Meet the Teacher Institute Staff
        • Resources for Supporting Science Teachers
      • Institute for Inquiry
        • What Is Inquiry?
        • Inquiry-based Science and English Language Development
          • Educators Guide
            • Conceptual Overview
              • Science Talk
              • Science Writing
            • Classroom Video Gallery
              • Magnet Investigation
              • Snail Investigation
            • Teacher Professional Development
            • Project Studies
            • Acknowledgments
          • Conference: Exploring Science and English Language Development
            • Interviews with Participants
            • Plenary Sessions
            • Synthesis, Documentation, and Resources
        • Workshops
          • Participant Portal
          • Fundamentals of Inquiry
            • Summary Schedule
          • BaySci Science Champions Academy
          • Facilitators Guides
          • Commissioned Workshops
        • Resource Library
        • Meet the IFI Staff
      • Resources for California Educators
      • K-12 Science Leader Network
      • Resources for Supporting Science Teachers
      • Field Trip Explainer Program
    • Tools for Teaching and Learning
      • Learning Toolbox
      • Science Snacks
      • Digital Teaching Boxes
      • Science Activities
      • Tinkering Projects
      • Videos
      • Exhibits
      • Publications
      • Apps
      • Educator Newsletter
      • Exploratorium Websites
    • Educator Newsletter
    • Advancing Ideas about Learning
      • Visitor Research and Evaluation
        • What we do
        • Reports & Publications
        • Projects
        • Who we are
      • Center for Informal Learning in Schools
    • Community Programs
      • High School Explainer Program
      • Xtech
      • Community Educational Engagement
      • California Tinkering Afterschool Network
        • About
        • Partners
        • Resources
        • News & Updates
        • Further Reading
  • Explore
    • Browse by Subject
      • Arts
      • Astronomy & Space Sciences
        • Planetary Science
        • Space Exploration
      • Biology
        • Anatomy & Physiology
        • Ecology
        • Evolution
        • Genetics
        • Molecular & Cellular Biology
        • Neuroscience
      • Chemistry
        • Combining Matter
        • Food & Cooking
        • Materials & Matter
        • States of Matter
      • Data
        • Data Collection & Analysis
        • Modeling & Simulations
        • Visualization
      • Earth Science
        • Atmosphere
        • Geology
        • Oceans & Water
      • Engineering & Technology
        • Design & Tinkering
        • Real-World Problems & Solutions
      • Environmental Science
        • Global Systems & Cycles
        • Human Impacts
      • History
      • Mathematics
      • Nature of Science
        • Measurement
        • Science as a Process
        • Size & Scale
        • Time
      • Perception
        • Light, Color & Seeing
        • Listening & Hearing
        • Optical Illusions
        • Scent, Smell & Taste
        • Tactile & Touch
      • Physics
        • Electricity & Magnetism
        • Energy
        • Heat & Temperature
        • Light
        • Mechanics
        • Quantum
        • Sound
        • Waves
      • Social Science
        • Culture
        • Language
        • Psychology
        • Sociology
    • Browse by Content Type
      • Activities
      • Blogs
      • Exhibits
      • Video
      • Websites
      • Apps
        • Total Solar Eclipse
  • About Us
    • Contact Info
    • Our Story
    • Our History
      • 50 Years 1969–2019
    • Fact Sheet
    • Impact Report
    • Awards
    • Arts at the Exploratorium
      • Artworks on View
      • Artist-in-Residence Program
      • Cinema Arts
        • History and Collection
        • Cinema Artists-in-Residence
        • Resources and Collaborating Organizations
        • Kanbar Forum
      • Center for Art & Inquiry
        • Begin Here
          • Lessons
            • Bob Miller/Light Walk
            • Ruth Asawa/Milk Carton Sculpture
          • Workshops
      • Resonance
        • About the Series
        • See & Hear
        • Past Seasons
      • Over the Water
      • Black Box
      • Upcoming Events
      • Temporary Exhibitions
      • Arts Program Staff
      • Arts Committee and Advisers
    • Newsletter
    • Educator Newsletter
    • Press Office
    • Senior Leadership
    • Board of Trustees
    • Board of Trustees Alumni
    • Staff Scientists
    • Staff Artists
    • Partnerships
      • Building Global Connections
        • Global Collaborations
          • Projects
          • Approach
          • People
          • Impact
      • Partnering with Science Agencies
        • NASA
        • NOAA
      • Partnering with Educational Institutions
      • Osher Fellows
    • Exhibit Making
    • Institute for Inquiry
    • Teacher Institute
    • Online Engagement
    • Explainer Programs
    • Studio for Public Spaces
    • Job Opportunities
    • Become a Volunteer
    • Follow & Share
    • FY20 Audit Report
    • 990 FY19 Tax Return
    • Use Policy
      • Privacy Policy
      • Intellectual Property Policy
  • Join + Support
    • Donate today!
    • Membership
      • Membership FAQ
      • Member Benefits
      • After Dark Membership
      • Member Events
      • May Is for Members
    • Join our donor community
    • Engage your business
      • Corporate Membership
      • Luminary Partnerships
    • Attend a fundraiser
      • Wonder Funday
      • Science of Cocktails
      • Party at the Piers
        • Event Leadership and Host Committee
    • Explore our reach
    • Thank you to our supporters
    • Volunteer
      • Benefits
      • How to Apply
      • Application for Corporate Groups
      • Application for Internships
      • Application for Professional Societies
      • Application for School Groups & Clubs
      • Our Contract
      • Application for Individuals
      • Opportunities
  • Press Office
    • Press Releases
    • News Coverage
    • Events Calendar
    • Fact Sheet
    • Photographs
    • Press Video
    • Press Kits
    • Press Visits
    • Exploratorium Logos
    • Recent Awards
    • Praise for the Exploratorium
    • Join Our Press List
  • Store
 

Learn with us online while the Exploratorium is temporarily closed. You can help us reopen—donate today.

Exploratorium
Exploratorium
  • Visit
    • Buy Tickets
    • Calendar
    • After Dark Thursdays
    • Exhibits
    • Artworks on View
    • Getting Here
    • Event Rentals
  • Education
    • Professional Development Programs
    • Tools for Teaching and Learning
    • Learning About Learning
    • Community Programs
    • Educator Newsletter
  • Explore
    • Browse by Subject
    • Activities
    • Video
    • Exhibits
    • Apps
    • Blogs
    • Websites
  • About Us
    • Our Story
    • Partnerships
    • Global Collaborations
    • Explore Our Reach
    • Arts at the Exploratorium
    • Contact Us
  • Join + Support
    • Donate today!
    • Membership
    • Join our donor community
    • Engage your business
    • Attend a fundraiser
    • Explore our reach
    • Thank you to our supporters
    • Host your event
    • Volunteer
  • Store
Science Snacks
Science activity to estimate pi with the random tossing of toothpicks

Pi Toss

Randomly toss some toothpicks, with pi as your reward.

Asked to get an estimate for the famed mathematical constant pi (π), you might do what the ancient Greeks did: Divide the circumference of a circle by its diameter. Here you can estimate pi by a less conventional method: the random tossing of toothpicks.


Grade Bands: 
6-8
9-12
Subject: 
Mathematics
Keywords: 
probability
random
patterns
constant
pi
graph
exhibit-based
video
NGSS and EP&Cs: 
CCCs
Patterns
Cause and Effect
Scale, Proportion, and Quantity

  • Facebook logo
  • Reddit logo
  • Twitter logo


Video Demonstration


Tools and Materials

  • Paper
  • Ruler
  • Pencil
  • Toothpicks
  • Optional: protractor, graph paper

Assembly

Draw two parallel lines on your paper. Make sure the distance between the lines is exactly equal to twice the length of your toothpicks (click to enlarge the photo below).


To Do and Notice

One by one, randomly toss toothpicks onto the lined paper. Keep tossing until you’re out of toothpicks—or tired of tossing (see photo below).

Count the total number of toothpicks you tossed. Also count the number of toothpicks that touch or cross one of your lines. Do not count any toothpicks that missed the paper or poked out beyond the paper’s edge.

Divide the total number of toothpicks you threw by the number that touched a line.

This is your approximation of pi, or 3.14. How close did you come?


What's Going On?

Depending on how many toothpicks you tossed, your approximation of pi may or may not be impressively close. But if you had the patience to toss toothpicks all day—or all week—and then averaged your results, you’d get an increasingly accurate estimate.

This surprising method of calculating pi, known as Buffon’s Needle, was first discovered in the late 18th century by French naturalist Georges-Louis Leclerc, Comte de Buffon. Count Buffon was inspired by a then-popular game of chance that involved tossing a coin onto a tiled floor and betting on whether it would land entirely within one of the tiles.

The method can work on any lined surface (hardwood floors are handy) as long as the separation between the lines is greater than the length of the object thrown. A general expression of the approximation is below (click to enlarge):

In this Snack, we made the distance between the lines two times the length of a toothpick so we could just divide the total number of toothpicks tossed by the number that touched a line.

The proof of why this works involves a bit of meaty math, and makes a delightful diversion for those so inclined (see the Math Root below). In general, this experiment in geometric probability is an example of a Monte Carlo method, in which a random sampling of a system yields an approximate solution.


Going Further

You can get a better understanding of why this works using a graphical approach. The position of each toothpick can be described using just two coordinates: x, the distance from the farthest edge of a toothpick with length L to the nearest line, and θ, the angle (in radians) between the toothpick and the line (click to enlarge the figure below).

The symmetry of the problem allows us to only consider values of x between 0 and 2L, and values of θ between 0 and π/2. Notice that the coordinates that result in a toothpick crossing a line are those for which x is less than Lsinθ (click to enlarge the figure below).

Using a graph with θ on the vertical axis and x on the horizontal axis, plot the points for which there is a line crossing. As you add points, you’ll start to see a pattern (click to enlarge the photo below).

Divide the total area of possible toothpick positions, >2L * π/2, by the area taken up by the plotted line crossings. Once again, you’ll find you get a number roughly equal to pi.


Math Root

Geometrically, we can see that the toothpick will hit the line if 0 < x < Lsinθ for the angles 0 < θ < π/2 (click to enlarge the figure below).

Using calculus, we can integrate to find the area of the solutions that cross, and divide by the total area of possible solutions to find the probability of having a toothpick cross a line (click to enlarge the equation below).



Related Snacks

Science activity that models radioactive decay
Radioactive-Decay Model

Substitute coins for radiation.

Science activity that demonstrates calculating the acceleration of gravity using simple materials
Falling for Gravity

“g,” that’s interesting! Investigating gravity.

Science activity that explores how graphing can reveal patterns in data
Plot the Dot

Graphing can be a slippery slope to understanding.


Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Attribution: Exploratorium Teacher Institute

  • Education
    • Teacher Institute
    • Tools for Teaching and Learning
      • Science Snacks
        • Browse by Subject
        • Special Collections
        • Science Snacks A-Z
        • NGSS Planning Tools
        • Frequently Asked Questions

Connect with us!

  •   Sign up for our educator newsletter
  •   Follow #ExploEDU
  •   Teacher Institute YouTube
  •   Teacher Institute Facebook
  •  teacherinstitute @exploratorium.edu
Exploratorium
Visit
Join
Give

Pier 15
(Embarcadero at Green Street)
San Francisco, CA 94111
(415) 528-4444

Contact Us

  • Plan Your Visit
  • Buy Tickets
  • Hours
  • Getting Here
  • Calendar
  • Tactile Dome
  • Store
  • About Us
  • Become a Member
  • Donate
  • Event Rentals
  • Jobs
  • Volunteer
  • Press Office

Get at-home activities and learning tools delivered straight to your inbox

© 2020 Exploratorium | Terms of Service | Privacy Policy | Your California Privacy Rights |