Ranipur is located at . It has an average elevation of 205 metres (672 feet).
India census, Ranipur had a population of 18,029. Males constitute 53% of the population and females 47%. Ranipur has an average literacy rate of 59%, lower than the national average of 59.5%: male literacy is 70%, and female literacy is 45%. In Ranipur, 16% of the population is under 6 years of age.