The economy of Austria-Hungary changed slowly during the existence of the Dual Monarchy, 1867-1918. The capitalist way of production spread throughout the Empire during its 50-year existence replacing medieval institutions.  In 1873, the old capital Buda and Óbuda (Ancient Buda) merged with the third city, Pest, thus creating the new metropolis of Budapest. The dynamic Pest grew into Hungary's administrative, political, economic, trade and cultural hub. Many of the state institutions and the modern administrative system of Hungary were established during this period. 
 Austria-Hungary was a large, heavily rural country with wealth and income levels a bit below the European average. Growth rates were similar to Europe as a whole. After 1895. migration became a major factor, with most headed to the United States.
 The Habsburg realms included 23 million inhabitants in 1800, growing to 36 million by 1870, third in population size behind Russia and Germany. Nationally[clarification needed] the per capita rate of industrial growth averaged about 3% between 1818 and 1870. However there were strong regional differences. That was relatively little international trade. In the Alpine and Bohemian regions, proto-industrialization at begun by 1750, and became the center of the first phases of the industrial revolution after 1800. The textile industry was the main factor, utilizing mechanization, steam engines, and the factory system. Much of machinery was purchased from the British. In the Bohemian regions, machine spinning started later and only became a major factor by 1840. Bohemia's resources were successfully exploited, growing 10% a year. The iron industry had developed in the Alpine regions after 1750, with smaller centers in Bohemia and Moravia. Key factors included the replacement of charcoal by coal, introduction of steam engine, and the rolling regard[clarification needed]. The first steam engine appeared in 1816 but the abundance of water power slowed its dissemination.  Hungary was heavily rural with little industry before 1870.
The first machine building factories appeared in the 1840s.
 Technological change accelerated industrialization and urbanization. The GNP per capita grew roughly 1.76% per year from 1870–1913. That level of growth compared very favorably to that of other European nations such as Britain (1%), France (1.06%), and Germany (1.51%). However, in a comparison with Germany and Britain: the Austro-Hungarian economy as a whole still lagged considerably, as sustained modernization had begun much later.
 By 1913, the population of Austria-Hungary was 48 million, compared to 171 million in Russia, 67 million in Germany, 40 million in France, and 35 million in Italy, as well as 98 million in the United States.  The population was heavily rural, with 67% of the workforce in agriculture in 1870, and 60% in 1913. They concentrated in grain production, not livestock. Only 16% of the workforce was employed by industry in 1870, rising to 22%. The output of coal, iron and beer was comparable to Belgium, which had only one sixth the population.
 Foreign investment in the Empire, 1870 to 1913, was dominated by Germany, followed by France, and to a lesser extent Great Britain. However Austria exported more capital than it imported. Foreign trade during this period, imports plus exports, averaged about a fourth of Austria's GNP. To protect its growing industries, Vienna raised tariffs in the 1870s and 1880s . As a result economic growth was strong as the GNP doubled from 1870 to 1913. Austria-Hungary grew by 93%, compared to growth of 115% for the remainder of Europe. Per capita growth of wealth was slightly higher than the rest of Europe.
 Economic growth centered on Vienna, Budapest and Prague, as well as the Austrian lands (areas of modern Austria), the Alpine region and the Bohemian lands. In the later years of the 19th century, rapid economic growth spread to the central Hungarian plain and to the Carpathian lands. As a result, wide disparities of development existed within the Empire. In general, the western areas became more developed than the eastern.
 By the end of the 19th century, economic differences gradually began to even out as economic growth in the eastern parts of the Empire consistently surpassed that in the western. The Empire built up the fourth-largest machine building industry of the world, after the United States, Germany, and Great Britain.  Austria-Hungary was also the world's third largest manufacturer and exporter of electric home appliances, electric industrial appliances and facilities for power plants, after the United States and the German Empire.
 The strong agriculture and food industry of Hungary with its center at Budapest became predominant within the Empire and made up a large proportion of the export to the rest of Europe. Meanwhile, western areas, concentrated mainly around Prague and Vienna, excelled in various manufacturing industries. However, since the turn of the twentieth century, the Austrian half of the Empire could preserve its dominance within the empire in the sectors of the first industrial revolution, but Hungary had a better position in the industries of the second industrial revolution, in these modern sectors of the second industrial revolution the Austrian competition could not become dominant. This division of labour between the east and west, besides the existing economic and monetary union, led to an even more rapid economic growth throughout Austria-Hungary by the early 20th century.  The most important trading partner was Germany (1910: 48% of all exports, 39% of all imports), followed by Great Britain (1910: almost 10% of all exports, 8% of all imports). Trade with the geographically neighboring Russia, however, had a relatively low weight (1910: 3% of all exports /mainly machinery for Russia, 7% of all imports /mainly raw materials from Russia). In the Galician north, the Kingdom of Galicia and Lodomeria, an ethnic Pole-administered autonomous unit under the Austrian crown, became the major oil-producing region of Europe.
 From 1527 (the creation of the monarchic personal union) to 1851, the Kingdom of Hungary maintained its own customs controls, which separated it from the other parts of the Habsburg-ruled territories. After 1867, the Austrian and Hungarian customs union agreement had to be renegotiated and stipulated every ten years. The agreements were renewed and signed by Vienna and Budapest at the end of every decade because both countries hoped to derive mutual economic benefit from the customs union. The Austrian Empire and the Kingdom of Hungary contracted their foreign commercial treaties independently of each other.
 The empire's heavy industry had mostly focused on machine building, especially for the electric power industry, locomotive industry and automotive industry, while in light industry the precision mechanics industry was the most dominant. Through the years leading up to World War I the country became the 4th biggest machine manufacturer in the world.
 The two most important trading partners were traditionally Germany (1910: 48% of all exports, 39% of all imports), and Great Britain (1910: almost 10% of all exports, 8% of all imports), the third most important partner was the United States, it followed by Russia, France, Switzerland, Romania, the Balkan states and South America. Trade with the geographically neighbouring Russia, however, had a relatively low weight (1910: 3% of all exports /mainly machinery for Russia, 7% of all imports /mainly raw materials from Russia).
 The factories producing rolling stock such as locomotives, steam engines and wagons, but also bridges and other iron structures, were installed in Vienna (Locomotive Factory of the State Railway Company, founded in 1839), in Wiener Neustadt (New Vienna Locomotive Factory, founded in 1841), and in Floridsdorf (Floridsdorf Locomotive Factory, founded in 1869).[citation needed]
 The Hungarian factories producing rolling stock as well as bridges and other iron structures were the MÁVAG company in Budapest (steam engines and wagons) and the Ganz company in Budapest (steam engines, wagons, the production of electric locomotives and electric trams started from 1894). and the RÁBA Company in Győr.
 The Austro-Hungarian Empire realized it needed railways for it had a large population and large territory where travel was difficult.  It needed long lines to coastal ports on the Black Sea and the Adriatic Sea.  The railway system was built for light duty traffic. The system provided a local demand for iron and steel, coal, rolling stock, terminals, yards, construction projects, skilled workers and manual labor. Although much of the engineering expertise was imported, most of the labor and materials were provided by the empire itself. When Austria and Hungary united in 1867, 6000 km of lines had been built, chiefly in the more industrialized Austria. Quickly all the major cities were linked together by 7600 km of new lines. This promoted rapid industrialization around Vienna, Bohemia, and Silesia. The worldwide economic panic of 1873 ended the construction boom. After 1880 three-fourths of the lines were nationalized. The Orient Express from Vienna to Constantinople was a prestige line, but added little to the economy. After 1900 a new major factor was outward emigration – over 2 million left for the United States in 1900-1914.  By 1914 43,280 km were in operation, exceeded in length only by Russia and Germany.
 Although of lighter weight and not as well-managed as the German lines, the Austro-Hungarian system played a major role in supporting the Army in the First World War.  Half of the rolling stock was reserved for the Army, and the rest was being run down and cannibalized. The system was in virtual collapse by 1918, as the cities ran short of food and coal.
 Prior to World War I, the Austrian Empire had five car manufacturer companies. These were: Austro-Daimler in Wiener-Neustadt (cars trucks, buses), Gräf & Stift in Vienna (cars), Laurin & Klement in Mladá Boleslav (motorcycles, cars), Nesselsdorfer in Nesselsdorf (Kopřivnice), Moravia (automobiles), and Lohner-Werke in Vienna (cars). Austrian car production started in 1897.
 Prior to World War I, the Kingdom of Hungary had four car manufacturer companies. These were: the Ganz company in Budapest, RÁBA Automobile in Győr, MÁG (later Magomobil) in Budapest, and MARTA (Hungarian Automobile Joint-stock Company Arad) in Arad. Hungarian car production started in 1900. Automotive factories in the Kingdom of Hungary manufactured motorcycles, cars, taxicabs, trucks and buses.[citation needed]
 In 1884, Károly Zipernowsky, Ottó Bláthy and Miksa Déri (ZBD), three engineers associated with the Ganz Works of Budapest, determined that open-core devices were impractical, as they were incapable of reliably regulating voltage.
When employed in parallel connected electric distribution systems, closed-core transformers finally made it technically and economically feasible to provide electric power for lighting in homes, businesses and public spaces. The other essential milestone was the introduction of 'voltage source, voltage intensive' (VSVI) systems' by the invention of constant voltage generators in 1885.
Bláthy had suggested the use of closed cores, Zipernowsky had suggested the use of parallel shunt connections, and Déri had performed the experiments;
 The first Hungarian water turbine was designed by the engineers of the Ganz Works in 1866, the mass production with dynamo generators started in 1883. The manufacturing of steam turbo generators started in the Ganz Works in 1903.
 In 1905, the Láng Machine Factory company also started the production of steam turbines for alternators.
 Tungsram is a Hungarian manufacturer of light bulbs and vacuum tubes since 1896. On 13 December 1904, Hungarian Sándor Just and Croatian Franjo Hanaman were granted a Hungarian patent (No. 34541) for the world's first tungsten filament lamp. The tungsten filament lasted longer and gave brighter light than the traditional carbon filament. Tungsten filament lamps were first marketed by the Hungarian company Tungsram in 1904. This type is often called Tungsram-bulbs in many European countries.
 Despite the long experimentation with vacuum tubes at Tungsram company, the mass production of radio tubes begun during WW1, and the production of X-ray tubes started also during the WW1 in Tungsram Company.
 The Orion Electronics was founded in 1913. Its main profiles were the production of electrical switches, sockets, wires, incandescent lamps, electric fans, electric kettles, and various household electronics.
 The telephone exchange was an idea of the Hungarian engineer Tivadar Puskás (1844–1893) in 1876, while he was working for Thomas Edison on a telegraph exchange.
 The first Hungarian telephone factory (Factory for Telephone Apparatuses) was founded by János Neuhold in Budapest in 1879, which produced telephones microphones, telegraphs, and telephone exchanges.
 In 1884, the Tungsram company also started to produce microphones, telephone apparatuses, telephone switchboards and cables.
 The Ericsson company also established a factory for telephones and switchboards in Budapest in 1911.
 The first airplane in Austria was Edvard Rusjan's design, the Eda I, which had its maiden flight in the vicinity of Gorizia on 25 November 1909.
 The first Hungarian hydrogen-filled experimental balloons were built by István Szabik and József Domin in 1784.
The first Hungarian designed and produced airplane (powered by a Hungarian built inline engine) was flown at Rákosmező on 4 November 1909. The earliest Hungarian airplane with Hungarian built radial engine was flown in 1913. Between 1912 and 1918, the Hungarian aircraft industry began developing. The three greatest: UFAG Hungarian Aircraft Factory (1914), Hungarian General Aircraft Factory (1916), Hungarian Lloyd Aircraft, Engine Factory at Aszód (1916), and Marta in Arad (1914). During the First World War, fighter planes, bombers and reconnaissance planes were produced in these factories. The most important aero-engine factories were Weiss Manfred Works, GANZ Works, and Hungarian Automobile Joint-stock Company Arad.
 The largest shipyard in the dual monarchy and a strategic asset for the Austro-Hungarian Navy was the Stabilimento Tecnico Triestino in Trieste, founded in 1857 by Wilhelm Strudthoff. Second in importance was the Danubius Werft in Fiume (present-day Rijeka, Croatia). Third in importance for the naval shipbuilding was the Navy's own Marinearsenal, located at the main naval base in Pola, present-day Croatia. Smaller shipyards included the Cantiere Navale Triestino in Monfalcone (established in 1908 with ship repairs as the main activity, but went on during the war to manufacture submarines) and the Whitehead & Co. [de] in Fiume. The latter was established in 1854 under the name Stabilimento Tecnico Fiume with Robert Whitehead as the enterprise's director and the purpose to produce his torpedoes for the Navy. The company went bankrupt in 1874 and in the following year Whitehead bought it to establish the Whitehead & Co. Next to torpedoes the company went on to produce submarines during WWI. On the Danube, the DDSG had established the Óbuda Shipyard on the Hungarian Hajógyári Island in 1835. The largest Hungarian shipbuilding company was the Ganz-Danubius.