Budapest is geographically located within Hungary.
Budapest ( [ ˈbudɒpɛʃt ] ) is the capital and most populous city of Hungary and one of the largest cities in the European Union . Budapest is both a city and county , and forms the centre of the Budapest Metropolitan Area , which has an area of 7,626 km2 and a population of 3.3 million , comprising 33 percent of the population of Hungary .