<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>NASA - NSSDCA - Terrestrial Planet Mileage Calculator</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="NASA Space Science Data Coordinated Archive (NSSDCA) Terrestrial Planet Mileage Calculator" />
<meta name="keywords" content="NASA, NSSDC, NSSDCA, planetary science, planet, planets, moon, lunar science, mileage" />
<meta name="orgcode" content="690.1" />
<meta name="rno" content="Edwin.J.Grayzeck.1" />
<meta name="content-owner" content="Edwin.J.Grayzeck.1" />
<meta name="webmaster" content="Edwin.V.Bell.1" />
<link rel="stylesheet" type="text/css" media="screen" href="/style/everyone.css" />

<style type="text/css" media="screen">
@import url("/style/nasa_style.css");
@import url("/style/jin_style.css");
</style>
<!--
<style type="text/css" media="screen">
@import url("/style/style_iefixes.css");
</style>
-->
<link rel="stylesheet" type="text/css" media="print" href="/style/print.css" />
<link rel="stylesheet" type="text/css" media="print" href="/style/jin_print.css" />
<link rel="stylesheet" type="text/css" media="handheld" href="/style/handheld.css" />
<script type="text/javascript" id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=NASA"></script></head><body><div id="paper">  <div id="nasahead">
    <a href="http://www.nasa.gov/" target="_blank"><img src="/logo/nasa_bigheader_logo.gif" alt="NASA Logo, National Aeronautics and Space Administration" width="288" height="51" vspace="6" /></a>
    <div id="nasaheadlinks">
      <ul>
        <li>+ <a href="https://www.nasa.gov" target="_blank">Visit the NASA Portal</a></li>
        <li>+ <a href="https://nssdc.gsfc.nasa.gov/">NSSDCA Home</a></li>
        <li>+ <a href="https://nssdc.gsfc.nasa.gov/planetary/">Solar System Exploration</a></li>
      </ul>
    </div>
  </div>
<div id="contentwrapper"><div id="rightcontent"><div id="headimage"><img height="100" width="530" alt="NASA Space Science Data Coordinated Archive Header" src="/logo/nssdca_header.jpg"/></div><div class="twocol"><div class="urone"><h2>Terrestrial Planet Mileage Calculator</h2><p>
          This form can be used to calculate the distance between two points on the
          surface of one of the terrestrial planets. This is done by specifying the
          latitude and longitude of the two points.
          </p><form id="getMileage" name="getMileage" action="/special/getMileage.action" method="post"><fieldset style="width:300px;"><legend align="top">Planet</legend><select name="planet" id="getMileage_planet">
    <option value="Mercury">Mercury</option>
    <option value="Venus">Venus</option>
    <option value="Earth" selected="selected">Earth</option>
    <option value="Moon">Moon</option>
    <option value="Mars">Mars</option>


</select>

</fieldset><fieldset style="width:300px;"><legend align="top">Point Coordinates</legend><table style="width:300px;" cellspacing="0" class="alternate"><thead><tr class="odd"><th style="text-align:right; vertical-align:middle"> </th><th style="text-align:center; vertical-align:top">Latitude</th><th style="text-align:center; vertical-align:top">Longitude</th></tr></thead><tbody><tr class="odd"><td style="text-align:right; vertical-align:middle"><strong>Point 1</strong></td><td style="text-align:left; vertical-align:top"><input type="text" name="latitude1" size="10" value="" id="latitude1"/></td><td style="text-align:left; vertical-align:top"><input type="text" name="longitude1" size="10" value="" id="longitude1"/></td></tr><tr class="odd"><td style="text-align:right; vertical-align:middle"><strong>Point 2</strong></td><td style="text-align:left; vertical-align:top"><input type="text" name="latitude2" size="10" value="" id="latitude2"/></td><td style="text-align:left; vertical-align:top"><input type="text" name="longitude2" size="10" value="" id="longitude2"/></td></tr></tbody></table></fieldset><fieldset style="width:300px;"><legend align="top">Display distances in?</legend><input type="radio" name="unit" id="unitmi" checked="checked" value="mi"/><label for="unitmi"> mi </label>
<input type="radio" name="unit" id="unitkm" value="km"/><label for="unitkm"> km</label>
</fieldset><br/><input type="submit" value="Submit" id="getMileage_0"/>
<input type="reset" value="Reset"/>
</form>


</div><div class="urtwo"><h2>Instructions</h2><ul><li>Enter all coordinates as decimal values.</li><li>If the latitude is southern, then enter it as a negative number.</li><li>If longitudes are in an east/west system (as on Earth), enter west
              longitudes as negative numbers.</li></ul></div></div></div><div id="leftcontent"><div id="lefttitle"><a class="homeabs" href="/">+ Home</a><h2>NSSDCA</h2><div class="mac ie fix"/></div><div id="leftnav"><ul><li id="lnone"><a href="/nssdc_home.html">Services</a></li><li id="lntwo"><a href="/astro/">Universe Exploration</a></li><li id="lnthree"><a href="/space/">Heliophysics</a></li><li id="lnfour"><a href="/planetary/">Solar System Exploration</a></li><li id="lnfive"><a href="/image/">Image Resources</a></li></ul></div></div>  <div id="nasafoot">
    <a href="http://www.usa.gov/" target="_blank"><img src="/logo/usagov_logo.gif" width="130" height="34" alt="[USA.gov]" /></a>

    <div id="nasafootplus">
      <ul>
        <li>+ <a href="http://www.nasa.gov/about/highlights/HP_Privacy.html">Privacy Policy and Important Notices</a></li>
      </ul>
    </div>

    <a href="http://www.nasa.gov/" target="_blank"><img id="nasafootr" src="/logo/nasa_logo_small.gif" width="61" height="40" vspace="5" alt="NASA Logo - nasa.gov" /></a>

    <div id="nasafootlinks">
      <ul>
        <li>NASA Official: <a href="mailto:David.R.Williams@nasa.gov">Dr. David R. Williams</a></li>
        <li>Curator: <a href="mailto:Ed.Bell@nasa.gov">E. Bell, II</a></li>
        <li>Version 3.1.5, 24 March 2023</li>
      </ul>
    </div>
  </div></div></div></body></html>