The Prussian Class P 8 of the Prussian state railways (DRG Class 38.10-40 of the Deutsche Reichsbahn) was a 4-6-0 steam locomotive built from 1906 to 1923 by the Berliner Maschinenbau (previously Schwartzkopff) and twelve other German factories. The design was created by Robert Garbe. It was intended as a successor to the Prussian P 6, which was regarded as unsatisfactory. 
| Prussian P 8 DRG Class 38.10–40
 | 
|---|
| Prussian P 8 in state railway livery | 
| | Type and origin | 
|---|
 | Build date | 1908 - 1926 | 
|---|
 | Total produced | ca. 3,700 | 
|---|
 | 
| | Specifications | 
|---|
 | Configuration: 
 |  | 
|---|
 | • Whyte | 4-6-0 | 
|---|
 | • German | P 35.15 | 
|---|
 | Gauge | 1,435 mm (4 ft 8+1⁄2 in) standard gauge 1,524 mm (5 ft) Russian Railways
 | 
|---|
 | Leading dia. | 1,000 mm (39.37 in) | 
|---|
 | Driver dia. | 1,750 mm (68.90 in) | 
|---|
 | Length: 
 |  | 
|---|
 | • Over beams | 18,585 mm (60 ft 11+3⁄4 in) | 
|---|
 | Axle load | 17.36 t (17.09 long tons; 19.14 short tons) | 
|---|
 | Adhesive weight | 50.60 t (49.80 long tons; 55.78 short tons) | 
|---|
 | Service weight | 69–76.69 t (67.91–75.48 long tons; 76.06–84.54 short tons) | 
|---|
 | Boiler pressure | 12 bar (1,200 kPa; 170 psi) | 
|---|
 | Heating surface: |  | 
|---|
 | • Firebox | 2.58 m2 (27.8 sq ft) | 
|---|
 | • Radiative | 14.58 m2 (156.9 sq ft) | 
|---|
 | • Evaporative | 143.28 m2 (1,542.3 sq ft) | 
|---|
 | Superheater: 
 |  | 
|---|
 | • Heating area | 58.90 m2 (634.0 sq ft) | 
|---|
 | Cylinder size | 575 mm (22.64 in) | 
|---|
 | Piston stroke | 630 mm (24.80 in) | 
|---|
 | Train heating | Steam from locomotive boiler | 
|---|
 | Loco brake | Knorr automatic, single-chamber compressed-air brakes, working both sides of the coupled wheels, from 1913 bogie wheels also braked | 
|---|
 | 
| | Performance figures | 
|---|
 | Maximum speed | 110 km/h (68 mph) (forwards) 50 km/h (31 mph) (backwards)
 85 km/h (53 mph) (backwards with tub tender)
 | 
|---|
 | Indicated power | 868 kW (1,164 hp) | 
|---|
 | 
| | Career | 
|---|
 | Retired | 1974 | 
|---|
 | Disposition | Eighteen preserved, remainder scrapped | 
|---|
 |