Maintained by Marco A. Lopez-Sanchez - This website was last modified: 2020/12/31

GrainSizeTools is a free, open-source, cross-platform script written in Python that provides several tools for (1) Describing and visualizing grain size populations, (2) estimating differential stress for different mineral phases via paleopizometers and (3) apply stereology methods to approximate the actual distribution (3D) of grain size from sections. The script does not require previous experience with Python programming language (see documentation below and FAQ). For users with coding skills, the script is organized in a modular (functional) way facilitating the reuse and code extension.

Latest release: v3.0.2
Date: 2020/12/31

Important note: The script has been completely reorganized in v3+, including new modules and features. Its use is no longer compatible with previous versions (v2.x). Check the new documentation for use.

Features at a glance


You can download the script at the following sites:

View project on GitHub



Screenshots (v3.0+)

Citation guidelines

Script reference DOI
Lopez-Sanchez, Marco A. (2018). GrainSizeTools: a Python script for grain size analysis and paleopiezometry based on grain size. Journal of Open Source Software, 3(30), 863,


GrainSizeTools script is licensed under the Apache License, Version 2.0 (the "License")

The documentation of GrainSizeTools script is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

Community guidelines


Copyright © 2020 Marco A. Lopez-Sanchez

Information presented on this website and the documentation of the script is provided without any express or implied warranty and may include technical inaccuracies or typing errors; the author reserve the right to modify or enhance the content of this website as well as the documentation of the script at any time without previous notice. This webpage and the documentation is not liable for the content of external links.

Hosted on GitHub Pages — This website was created with Typora