So I'm trying to use this equation for the time dilation of an object, but I don't know how to get the distance that I have (in meters) to a radial coordinate in terms of schwarzschild coordinates. How can I do this?
$$ t_0 = t_f \sqrt{1 - \frac{2GM}{rc^2}} = t_f \sqrt{1 - \frac{r_s}{r}} $$
where
$t_0$ is the proper time between events A and B for a slow-ticking observer within the gravitational field
$t_f$ is the coordinate time between events A and B for a fast-ticking observer at an arbitrarily large distance from the massive object (this assumes the fast-ticking observer is using Schwarzschild coordinates, a coordinate system where a clock at infinite distance from the massive sphere would tick at one second per second of coordinate time, while closer clocks would tick at less than that rate),
$G$ is the gravitational constant,
$M$ is the mass of the object creating the gravitational field,
$r$ is the radial coordinate of the observer (which is analogous to the classical distance from the center of the object, but is actually a Schwarzschild coordinate),
$c$ is the speed of light, and
$r_s = 2GM/c^2$ is the Schwarzschild radius of M.