<p>I have given a location defined by latitude and longitude.
Now i want to calculate a bounding box within e.g. 10 kilometers of that point.</p>

<p>The bounding box should be defined as latmin, lngmin and latmax, lngmax.</p>

<p>I need this stuff in order to use the <a href="http://www.panoramio.com/api/" rel="noreferrer">panoramio API</a>.</p>

<p>Does someone know the formula of how to get thos points?</p>

<p><strong>Edit:</strong> Guys i am looking for a formula/function which takes lat &amp; lng as input and returns a bounding box as latmin &amp; lngmin and latmax &amp; latmin.
Mysql, php, c#, javascript is fine but also pseudocode should be okay.</p>

<p><strong>Edit:</strong> I am not looking for a solution which shows me the distance of 2 points</p>

You're looking for an ellipsoid formula.
The best place I've found to start coding is based on the Geo::Ellipsoid library from CPAN.  It gives you a baseline to create your tests off of and to compare your results with its results.  I used it as the basis for a similar library for PHP at my previous employer.
Geo::Ellipsoid
Take a look at the
```
location
```
method.  Call it twice and you've got your bbox.
You didn't post what language you were using.  There may already be a geocoding library available for you.
Oh, and if you haven't figured it out by now, Google maps uses the WGS84 ellipsoid.