# How can I divide my simulation box into slices of a select thickness?

**URL:** <https://gromacs.bioexcel.eu/t/how-can-i-divide-my-simulation-box-into-slices-of-a-select-thickness/5468>\
**Category:** User discussions\
**Created:** [December 22, 2022, 12:12pm UTC](https://gromacs.bioexcel.eu/t/how-can-i-divide-my-simulation-box-into-slices-of-a-select-thickness/5468 "2022-12-22T12:12:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anna.stephens](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anna.stephens](https://gromacs.bioexcel.eu/u/anna.stephens)\
**Post date:** [December 22, 2022, 12:12pm UTC](https://gromacs.bioexcel.eu/t/how-can-i-divide-my-simulation-box-into-slices-of-a-select-thickness/5468/1 "2022-12-22T12:12:44Z")

</div>

GROMACS version: 2020  
GROMACS modification: No

Hey,

I was wondering how I can divide my bilayer simulation box into slices of a certain thickness so I can count how many atoms of a certain type are in my slice so I can histogram this?

Thanks so much!

Anna
