The Einstein field equations (EFE; also known as "Einstein's equations") is the set of 10 equations in Albert Einstein's general theory of relativity that describes the fundamental interaction of gravitation as a result of spacetime being curved by mass and energy. First published by Einstein in 1915 as a tensor equation, the EFE equate local spacetime curvature (expressed by the Einstein tensor) with the local energy and momentum within that spacetime (expressed by the stress–energy tensor).
Similar to the way that electromagnetic fields are determined using charges and currents via Maxwell's equations, the EFE are used to determine the spacetime geometry resulting from the presence of mass–energy and linear momentum, that is, they determine the metric tensor of spacetime for a given arrangement of stress–energy in the spacetime. The relationship between the metric tensor and the Einstein tensor allows the EFE to be written as a set of non-linear partial differential equations when used in this way. The solutions of the EFE are the components of the metric tensor. The inertial trajectories of particles and radiation (geodesics) in the resulting geometry are then calculated using the geodesic equation.