Carpegna is a comune (municipality) with a population of 1,674 (December 31, 2015) in the province of Pesaro and Urbino in the Marche. The village is located about 48 km west-southwest of Pesaro and about 24.5 km west-northwest of Urbino at the Parco Naturale Regionale del Sasso Simone and Simon cello, is part of the Comunità Montana del Montefeltro and is immediately adjacent to the provinces of Arezzo (Tuscany) and Rimini (Emilia-Romagna ).