You can easily google the Einstein field equations. The source term is the stress-energy tensor, ##T_{ij}##, which includes terms for various things like energy and momentum. The resulting curvature is described by the Einstein tensor ##G_{ij}##, sometimes written out explicitly in terms of the Ricci tensor, ##R_{ij}## and Ricci scalar ##R##.
Don't be deceived by the simple form. Both indices i and j run from 0-3, making it a compact notation for sixteen simultaneous non-linear second order differential equations. Relatively few analytical solutions are known. Generally they get solved numerically.