How to use the Lab Companion – Point Counting, Grain Size, QAPF
Free · works offline · no sign-up
Point count a thin section from a photomicrograph with counting error and get the IUGS QAPF name, plus grain size, density, solutions and stains. Free.
What it does
What a stone is made of, from its weight in air and in water (its density), plus lab calculators.
What you need
A kitchen scale, a cup of water and some thread.
How to use it
- Weigh the dry stone, type it in "DRY, IN AIR · g" and tap "ADD"; repeat two or three times.
- Put a cup of water on the scale and press zero (tare).
- Hang the stone on thread fully under water, type the reading in "SCALE GAIN" and tap "ADD".
Reading the answer
The big number is the density in g/cm³ with a likely range; the verdict lists which rocks or minerals match it.
The tabs below the density card
- Point count. Load a photomicrograph, start, and tap the mineral under each grid point. Each mineral gets its percentage, the Van der Plas & Tobi (1965) ±2σ counting error and an exact 95% range (Clopper–Pearson), which stays correct for rare minerals and small counts. With quartz, feldspars or feldspathoids (nepheline, leucite, analcime and the rest) counted you get the IUGS QAPF field number and name, for a coarse-grained rock (granite, foid syenite...) or a fine-grained one (rhyolite, phonolite, basanite...). Albite counts as alkali feldspar and scapolite as plagioclase, as the IUGS defines the groups. Save the count as a CSV file and open it again later to carry on counting where you stopped.
- QAPF from a mode. Type the percentages of quartz, alkali feldspar, plagioclase, feldspathoids and the rest, choose coarse- or fine-grained, and see the field on the QAPF double triangle with its IUGS name and its coarse/fine equivalent (Streckeisen 1976, 1978; fields as numbered in BGS RR 99-06).
- Grain size. Pick a sieve stack (ASTM E11, whole-phi or half-phi), type the grams on every sieve, including empty ones, and the pan, and the start mass. Compute gives: the ASTM C136 mass balance (0.3 %), Folk & Ward (1957) mean, sorting, skewness and kurtosis with their words, the method of moments with its words (skewness and kurtosis limits as tabulated in the rysgran R package, after Tanner 1995; give the pan mid-point in φ if you want to set it, as Folk 1980 does, otherwise one class width is assumed and flagged), gravel/sand/mud and the Folk (1954) textural name, D10/D30/D60, Cu and Cc, and the ASTM D2487 soil symbol for clean sands and gravels. A percentile that falls in the pan or above the top sieve is marked as not measured. Open a sieve CSV (mm, micrometre or phi columns, or a laser table of size and volume %) or save the table as CSV. Silt and clay by hydrometer, the Atterberg limits and the full soil name are in the soil engineering lab.
- Porosity. Dry, saturated and submerged masses give bulk and grain density, porosity, absorption and the ASTM C127/C128 specific gravities, by the ISRM (1979) saturation and buoyancy method. Loss on ignition in sequence (105, 550 and 950 °C) gives organic matter and carbonate the way Heiri, Lotter & Lemcke (2001) lay it out.
- Solutions, Stains, Notebook. Molarity and dilution; carbonate and feldspar stain recipes with the safety rules and a camera colour reader; an append-only notebook you can save as CSV and open again on another phone (opening adds entries and never changes the ones already written).
Finishing a QAPF name
Some QAPF fields hold more than one rock. Open "Gabbro or diorite? Basalt or andesite? Basanite or tephrite?" under "QAPF from a mode you already have" and give what you know: the An content of the plagioclase splits diorite from gabbro (and monzodiorite from monzogabbro, foid diorite from foid gabbro) at An 50, a colour index below 10 makes it anorthosite; for fine-grained rocks SiO2 splits basalt from andesite at 52 % (or, tentatively, the colour index at 35 vol %); CIPW normative olivine above 10 % makes basanite rather than tephrite. Normative olivine comes from a chemical analysis in Rock chemistry. The rules are those of the BGS Rock Classification Scheme vol. 1 (RR 99-06, sections 5.1.3 and 5.2.3, after Le Maitre et al. 2002). The point count uses the same box.
Checked against published values
The page runs its own self-test when it opens. The grain-size statistics reproduce the US Army Corps of Engineers Coastal Engineering Manual (EM 1110-2-1100 Part III) Example III-1-1; the counting ranges reproduce Newcombe (1998) Statistics in Medicine 17:857, Table I; specific gravity and absorption reproduce the three WAQTC sample calculations for AASHTO T 85 (the twin of ASTM C127); water density follows Kell (1975) against the CIPM table; the CSV reader follows the examples of RFC 4180; the carbonate factors come from the IUPAC standard atomic weights. The density from weighing in water reproduces the coin example of the Mettler Toledo density kit manual (8.93 g/cm³); the method of moments reproduces the worked example in Folk (1980) Petrology of Sedimentary Rocks (mean 2.68 φ, standard deviation 1.06 φ), and its skewness and kurtosis, which Folk does not print, equal those of the reference software R moments 0.14.1 and scipy 1.18.1 on three sieve tables to 1e-9; the stain colour reader is checked on the ISCC-NBS standard colours that carry Dickson's colour words (Kelly & Judd 1976), because Dickson gives words, not numbers. The QAPF recalculation reproduces the British Geological Survey worked example (Q 10, A 30, P 20, M 40 gives 16.7 : 50.0 : 33.3).
Open the Lab Companion – Point Counting, Grain Size, QAPF — free →