Home / Science / Earth sciences / Mineralogy and petrology / Point counter for thin sectionsTool #873

Point counter for thin sections and photos: modal analysis with hotkeys, grid or random points, error bars (free)

Open a thin-section photo or any image, lay a grid or seeded random points over it and count each point into your own classes with number keys or buttons. Get modal percentages with binomial standard errors, Van der Plas and Tobi 2σ, exact 95 % ranges and CSV files. Works as a plain tally counter without an image.

Keep it one tap away for everyday use.

Bookmark Point counter for thin sections?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Image
  2. Points
  3. Count
  4. Modal %
Nothing is uploadedWorks offline once open

Classes

The key is one letter or digit you press to count that class (case does not matter). Up to 20 classes.

Image and points

No image: the class buttons below work as a plain tally counter. Your image stays on this device; it is never uploaded.

Random points use a seed, so the same seed puts them in the same places again. They are visited in bands across the image. Tap a point to go back to it.

Count

Keys: a class key counts the current point and moves on; Backspace or Ctrl+Z undoes; the arrow keys move between points. Counts live only in this page: download the CSV before you close it.

Modal composition

SE = √(p(1 − p)/N). 2σ is the Van der Plas and Tobi (1965) precision: about 95 % of repeat counts fall within it. The 95 % range is the exact (Clopper-Pearson) binomial interval, which stays sensible for rare classes. "Points for target" is how many points you would need for that class's 2σ to reach the target: 4p(1 − p)/target².

Data
Download

What it does

Point counting is the classic way to measure how much of each mineral or component a rock contains (its modal composition): put points over a thin section, say what lies under each one, and the share of points in each class estimates its share of the area. This page does the bookkeeping:

  • Your image: open a photo of a thin section, a polished slab, an outcrop or anything else. It is drawn in the page and never uploaded.
  • Points: a regular grid (rows × columns) or random points from a seed, so the same seed gives the same points again. A margin keeps points off the edges.
  • Counting: press the class’s key (1, 2, 3 … or any letter you choose) or tap its button. The page moves to the next point and scrolls to it when you are zoomed in. Tap a point to go back to it, use the arrow keys, and undo with Backspace or Ctrl+Z.
  • Results: count and percentage per class, the binomial standard error √(p(1 − p)/N), the 2σ of Van der Plas and Tobi (1965), an exact 95 % range (Clopper-Pearson), and how many points you would need for a target precision. A chart shows the Van der Plas and Tobi lines (2σ against N for proportions from 5 to 50 %) with your classes on it.
  • No image? The class buttons and keys work as a plain tally counter, for counting under the microscope.

How to use it

  1. List your classes, one per line: a key, then a name (for example 1 Quartz).
  2. Open an image, or press Use a made-up thin section to practise.
  3. Choose a grid or random points and press Place points. For thin sections, a point spacing larger than the biggest grain avoids counting one grain twice.
  4. Count: press keys or tap buttons. The yellow ring marks the current point. Zoom to 2× or 4× on a phone.
  5. Read the table, then download the results and the list of every point as CSV, or the report as an image, PDF or Word file.

Worked example

Say 300 points on a sandstone give 126 quartz. Then p = 126/300 = 42.0 %, SE = √(0.42 × 0.58 / 300) = 2.85 %, and 2σ = 5.70 %: a repeat count would very likely land between about 36 and 48 %. The exact 95 % range is 36.4 to 47.8 %. To get 2σ down to ±2 %, you would need 4 × 0.42 × 0.58 / 0.02² = 2,436 points. The chart shows the same thing: the 2σ lines fall only with the square root of N, so halving the error takes four times the points.

The made-up thin section has known areas measured from its pixels, shown as “True area %”, so you can see how close a 300-point count comes.

FAQ

Grid or random? A grid is the usual choice and spreads the points evenly. Random points avoid lining up with a regular fabric such as laminae.

Is my image stored? No. It stays in this page on your device. Counts are lost when you close the page, so download the CSV first.

Can I count without a photo, at the microscope? Yes: leave the image out and press the keys as you step the stage. The tally works the same.

Where the numbers come from

  • Methods (formulas only, no data copied): binomial standard error of a proportion; Van der Plas and Tobi (1965) 2σ precision chart for point counting; Clopper and Pearson (1934) exact and Wilson (1927) score intervals.
  • Made-up thin section: random Voronoi grains drawn by fibub; its class areas are measured from its own pixels.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Ternary and spider plot maker #124 Plot any three-part composition (QFL sandstones, soil texture, mineral end-members, alloys) on a ternary diagram with groups, grid lines and labels, and draw normalised multi-element spider diagrams with Eu/Eu* and (La/Yb)N. Download as PNG, PDF or Word. Mineral identification key #515 An interactive key to about 50 common rock-forming and ore minerals. Enter what you see (Mohs hardness or scratch tests, specific gravity, lustre, streak, cleavage, colour, acid fizz, magnetism and other simple tests) and get ranked matches with the reasons for and against each, adjustable tolerances, and a printable property table. Grain-size statistics from sieve data #875 Turn sieve masses into a cumulative curve, φ percentiles, Folk and Ward mean, sorting, skewness and kurtosis with their verbal classes, moment statistics and Udden-Wentworth class percentages, for one sample or a whole batch. CIPW norm calculator #871 Paste or open whole-rock major-oxide analyses, one or many. Get the CIPW norm in wt% (quartz, feldspars, feldspathoids, pyroxenes, olivine, oxides, apatite), the differentiation index, plagioclase An, colour index and silica saturation, with Le Maitre or fixed-ratio Fe2O3/FeO adjustment and a check that the norm adds up to the analysis. Mineral formula calculator #872 Paste or open electron-microprobe oxide analyses, one or hundreds. Get cations per formula unit on any oxygen basis, Fe³⁺ estimated by charge balance (Droop 1987), recalculated FeO and Fe2O3, Mg#, and end-members: Fo for olivine, Wo-En-Fs for pyroxene, An-Ab-Or for feldspar, Alm-Prp-Sps-Grs for garnet and Cr# for spinel. 1D Schrödinger solver #923 Choose a textbook potential, type a formula or draw your own, and get the lowest energy levels and wavefunctions of the one-dimensional Schrödinger equation by the matrix (finite-difference) method, with the exact levels alongside for the box, harmonic oscillator, finite well, Morse, linear and Pöschl–Teller potentials.