Ovanåker is a municipality in east central Sweden, in the county of Gävleborg. The municipality covers an area of 1882.2 km². Of the total population of 12491, 6298 are male, and 6193 are female. The population density of the community is 7 inhabitants per km².