====== Find the bin the value corresponds to ====== ===== How to ===== TH1D* bla = new TH1D("bla", "myHisto", 100,0,1); bla->FindBin(0,53); It also works for 2 or 3 dimensions.