# Rebinning Histograms

**URL:** <https://root-forum.cern.ch/t/rebinning-histograms/53272>\
**Category:** Newbie\
**Tags:** hist, root\
**Created:** [January 25, 2023, 4:55pm UTC](https://root-forum.cern.ch/t/rebinning-histograms/53272 "2023-01-25T16:55:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amccarrick](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@amccarrick](https://root-forum.cern.ch/u/amccarrick)\
**Post date:** [January 25, 2023, 4:55pm UTC](https://root-forum.cern.ch/t/rebinning-histograms/53272/1 "2023-01-25T16:55:35Z")

</div>

Hi all,

I am looking to rebin a histogram to have a narrower bin width (from ~5 to 0.5). Is there a way to do this without filling the histogram from scratch?

Thank you!

_ROOT Version:_ 6.26/06  
_Platform:_ MacOS

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 25, 2023, 5:05pm UTC](https://root-forum.cern.ch/t/rebinning-histograms/53272/2 "2023-01-25T17:05:50Z")

</div>

nope.

---

<div class="post-metadata">

**Author:** ![amccarrick](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@amccarrick](https://root-forum.cern.ch/u/amccarrick)\
**Post date:** [January 25, 2023, 5:22pm UTC](https://root-forum.cern.ch/t/rebinning-histograms/53272/3 "2023-01-25T17:22:14Z")

</div>

Thanks. Will refill instead.

---

<div class="post-metadata">

**Author:** ![Martha\_Simons](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/martha_simons/32/19411_2.png) [@Martha\_Simons](https://root-forum.cern.ch/u/Martha_Simons)\
**Post date:** [February 7, 2023, 3:11pm UTC](https://root-forum.cern.ch/t/rebinning-histograms/53272/4 "2023-02-07T15:11:11Z")

</div>

Thanks to [😇](https://essayservice.io/)
