McStas - A neutron ray-trace simulation package

McStas is a general tool for simulating neutron scattering instruments and experiments. It is actively supported by DTU Physics, NBI KU, ESS, PSI and ILL

Simulated scattering from a hollow-cylinder vanadium sample.

The plot shows the intensity of scattered neutrons (red is highest intensity). The sample is at the center of the sphere with the neutron beam coming from the left. Clearly seen is the shadowing effect of the sample causing a lower intensity opposite the beam. Also seen is the effect of the non-symmetric geometry of the sample, causing lower intensity directly above and to the side of the sample.



Recent news


Migrating from McStas 2.x to 3.x? - Use the wiki-based guides

January 7th, 2026: McStas and McXtrace 3.6.5 released


McStas and McXtrace release 3.6.5 is now available.
McStas installation instructions are found
on GitHub .

What's Changed - Main Changes:

Bugfixes, new features, all common to McStas and McXtrace:

Other stuff

Full Changelog:https://github.com/mccode-dev/McCode/compare/v3.6.1...v3.6.5


Previous news items: 2025, 2024, 2023, 2022, 2021,2020,2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998.