# How to divide a volume with another volume

**URL:** <https://discourse.slicer.org/t/how-to-divide-a-volume-with-another-volume/32952>\
**Category:** Support\
**Tags:** dicom\
**Created:** [November 22, 2023, 12:07pm UTC](https://discourse.slicer.org/t/how-to-divide-a-volume-with-another-volume/32952 "2023-11-22T12:07:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hu\_nathan](https://avatars.discourse-cdn.com/v4/letter/h/94ad74/32.png) [@hu\_nathan](https://discourse.slicer.org/u/hu_nathan)\
**Post date:** [November 22, 2023, 12:07pm UTC](https://discourse.slicer.org/t/how-to-divide-a-volume-with-another-volume/32952/1 "2023-11-22T12:07:42Z")

</div>

Operating system: Windows 10  
Slicer version: 5.2.2

Hi there,

I am trying to divide one dose volume with another.  
Using the filtering → arithmetic function, I am able to add, subtract and multiply but cannot divide.  
Any help would be greatly appreciated.  
Many thanks,

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 22, 2023, 12:10pm UTC](https://discourse.slicer.org/t/how-to-divide-a-volume-with-another-volume/32952/2 "2023-11-22T12:10:31Z")

</div>

You can easily combine voxels of two volumes that have the same geometry (origin, spacing, axis directions, and extents) using numpy. See complete example in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#combine-multiple-volumes-into-one).

---

<div class="post-metadata">

**Author:** ![hu\_nathan](https://avatars.discourse-cdn.com/v4/letter/h/94ad74/32.png) [@hu\_nathan](https://discourse.slicer.org/u/hu_nathan)\
**Post date:** [November 27, 2023, 4:46am UTC](https://discourse.slicer.org/t/how-to-divide-a-volume-with-another-volume/32952/3 "2023-11-27T04:46:15Z")

</div>

Thank you very much for your quick response.  
Greatly appreciate it.
