<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Luxor Cab Peninsula]]></title><description><![CDATA[Luxor Cab Peninsula]]></description><link>https://luxorcabpeninsula.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 10:25:44 GMT</lastBuildDate><atom:link href="https://luxorcabpeninsula.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[What a Ride Estimate Can and Cannot Tell You: A Look Inside a Bay Area Fare Calculator]]></title><description><![CDATA[Most people treat an online fare calculator like a vending machine: type two addresses, get a number, move on. If you build software, though, the…]]></description><link>https://luxorcabpeninsula.hashnode.dev/what-a-ride-estimate-can-and-cannot-tell-you-a-look-inside-a-bay-area-fare-calculator</link><guid isPermaLink="true">https://luxorcabpeninsula.hashnode.dev/what-a-ride-estimate-can-and-cannot-tell-you-a-look-inside-a-bay-area-fare-calculator</guid><category><![CDATA[Travel]]></category><dc:creator><![CDATA[Luxor Cab Peninsula]]></dc:creator><pubDate>Wed, 21 Oct 2026 20:43:25 GMT</pubDate><content:encoded><![CDATA[<p>Most people treat an online fare calculator like a vending machine: type two addresses, get a number, move on. If you build software, though, the interesting part is what goes into that number and what doesn't. I spent some time looking at the estimated fare calculator that Tri-City Rideshare LLC, a car service based in Union City, California, publishes on its website. It's a good small example of turning a fixed pricing policy into an interactive tool. It is also honest about its limits.</p>
<p>This post walks through the inputs, the pricing rules behind them, the open data the tool depends on, and what a rider should still confirm by phone.</p>
<h2>The inputs</h2>
<p>The <a href="https://tricityrideshare.com/fare-calculator/">Tri-City Rideshare fare calculator</a> asks for very little:</p>
<ul>
<li><strong>From</strong> and <strong>To</strong>: a pickup and a destination</li>
<li><strong>Car type</strong></li>
<li>An <strong>Include 20% gratuity</strong> toggle</li>
<li>An option to <strong>enter miles and minutes manually</strong></li>
</ul>
<p>The manual option is easy to miss, and it's useful. If you already know your route, or the automatic geocoder picks the wrong match for an address, you can type the distance and travel time yourself. The page says the estimate updates as you type, so you can try a few scenarios quickly.</p>
<h2>The pricing model behind it</h2>
<p>The calculator is built on a simple set of published rules. For a sedan:</p>
<table>
<thead>
<tr>
<th>Component</th>
<th>Rule</th>
</tr>
</thead>
<tbody><tr>
<td>Base fare</td>
<td>$85, covering the first 25 miles and up to 60 minutes of travel time</td>
</tr>
<tr>
<td>Extra distance</td>
<td>$2 per mile beyond 25 miles</td>
</tr>
<tr>
<td>Extra time</td>
<td>$20 per 30 minutes beyond 60 minutes</td>
</tr>
<tr>
<td>Gratuity</td>
<td>20%, optional toggle in the estimate</td>
</tr>
</tbody></table>
<p>The results panel lists every one of those components on its own line: distance, travel time, base fare, extra miles charge, extra time charge, subtotal, gratuity and estimated total. I like that. A single number with no breakdown makes people suspicious. A line-by-line breakdown lets them see where the money goes and which part of the trip is driving the cost.</p>
<p>Here is the logic in pseudocode:</p>
<pre><code>base = 85
extra_miles = max(0, miles - 25) * 2
extra_time = ceil(max(0, minutes - 60) / 30) * 20
subtotal = base + extra_miles + extra_time
total = subtotal * 1.20 if gratuity else subtotal
</code></pre>
<p>(How a partial half hour is rounded is my assumption. The page states the rate as "$20 per 30 minutes," so call to confirm the exact rounding.)</p>
<h2>The data underneath</h2>
<p>Small businesses usually don't have a budget for commercial mapping APIs, and this tool doesn't use one. The page credits its sources openly:</p>
<ul>
<li><strong>Map data:</strong> OpenStreetMap contributors</li>
<li><strong>Address search:</strong> Photon / Nominatim</li>
<li><strong>Routing:</strong> OSRM</li>
</ul>
<p>That combination works fine for a fare estimate. It turns typed addresses into coordinates, gets a driving distance and duration, and feeds both into the pricing rules above.</p>
<h2>What the estimate leaves out</h2>
<p>The page includes a clear disclaimer: distance and time are <strong>automatic driving estimates and don't include live traffic, tolls or waiting time.</strong> It also labels the result as an <strong>"estimated fare – not a final quote"</strong> and asks riders to call (510) 677-3909 for a final price.</p>
<p>Anyone who has driven in the Bay Area will see why that matters. A route the router calls 45 minutes can take much longer at rush hour, and the time component of the fare would change with it. The tool gives you a baseline, not a guarantee.</p>
<h2>Where the fixed packages fit</h2>
<p>The calculator covers point-to-point Bay Area and airport rides. The company's <a href="https://tricityrideshare.com/reservation/">reservation page</a> also lists fixed packages that you wouldn't run through a per-mile formula:</p>
<ul>
<li><strong>All Bay Area Airports (SFO, SJC, OAK):</strong> $85 + 20% gratuity within a 25-mile radius, home to airport or airport to home, up to 4 passengers with 3 medium-size bags. The page says this fare also works for any location within the Bay Area.</li>
<li><strong>5 to 6 passengers:</strong> $110 within a 25-mile radius.</li>
<li><strong>7-hour charters</strong> (sedan $375 for 4, SUV $475 for 7, van $575 for 7 to 11) and a <strong>6-hour extended van</strong> at $675 for 11 to 14 people. After the 7th hour, sedan and SUV charters add $20 per half hour.</li>
</ul>
<p>So the calculator handles the variable trips, and the reservation page handles the predictable ones. For anything that fits neither, there's a <a href="https://tricityrideshare.com/create-your-own-trip/">create-your-own-trip form</a> where you describe the trip and request pricing.</p>
<h2>Takeaways for builders</h2>
<p>Whether or not you ever ride with this company, the calculator has a few lessons for anyone building a pricing tool for a small business:</p>
<ol>
<li><strong>Mirror the published policy exactly.</strong> The calculator uses the same $85 / 25 miles / 60 minutes rule printed elsewhere on the site, so customers don't see two different answers.</li>
<li><strong>Show the breakdown.</strong> Separate lines for base, extra miles and extra time build more trust than a single total.</li>
<li><strong>Offer a manual override.</strong> Geocoders make mistakes. Letting users enter miles and minutes keeps the tool useful when they do.</li>
<li><strong>Say what you don't model.</strong> Traffic, tolls and waiting time are the usual causes of surprise charges, and the page names all three.</li>
<li><strong>Point people to a human.</strong> The final step is a phone number.</li>
</ol>
<p>If you're in Fremont, Union City or Newark and want to check a trip, run it through the calculator first and then call for the final quote.</p>
<hr />
<p><em>Muhammad Waseem writes about local transportation and travel planning in the San Francisco Bay Area. More about Tri-City Rideshare LLC, at 33476 Alvarado-Niles Rd Suite # 07, Union City, CA 94587, (510) 677-3909, is at <a href="https://tricityrideshare.com/">tricityrideshare.com</a>.</em></p>
]]></content:encoded></item></channel></rss>