The Sun’s surface gravity is about 28 times Earth’s gravity.
More precisely, the Sun’s equatorial surface gravity is approximately 274 meters per second squared, compared with Earth’s standard gravitational acceleration of 9.80665 meters per second squared. Dividing those values gives about 28.0 Earth g’s.
This strong gravity results from the Sun’s enormous mass, although its very large radius reduces the effect compared with what its mass alone might suggest. Surface gravity follows the relationship g = GM/R²: it increases with mass and decreases with the square of radius.
The word “surface” can be misleading because the Sun has no solid ground. In this context, it refers approximately to the visible photosphere, the layer from which most sunlight escapes. A person could not stand there; the photosphere is hot plasma. The Sun’s gravity also governs the orbits of Earth and the other planets, while its escape velocity is about 618 kilometers per second.