This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Calculate Prices based on Distance For WooCommerce

Calculate Prices based on Distance For WooCommerce

The best FREE WooCommerce Distance Rate Shipping alternative. Calculate delivery fee by KM or Mile via Google Maps API. Supports WooCommerce checkout …

300+ active installs
4.8
(20 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Calculate Prices based on Distance For WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
1 month ago
At least 1.3 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
6.8
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

300+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Calculate Prices based on Distance For WooCommerce is looked after — not on how many stores run it.

97

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 33 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
13 / 15
4.8/5 across 20 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

4.8

20 ratings
5★19
4★0
3★0
2★0
1★1
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Looking for a free WooCommerce Distance Rate Shipping alternative? Calculate Prices based on Distance For WooCommerce is the ultimate high-performance solution to automatically calculate delivery fees by KM (Kilometers) or Miles using the live Google Maps API.

Stop losing money on flat-rate shipping. Whether you run a local pizza delivery, grocery store, furniture shop, or courier service, this plugin allows you to charge your customers accurate shipping rates based on the exact road distance from your store to their doorstep.

Unlike older plugins, this is fully compatible with the modern WooCommerce Block Checkout and includes a built-in Delivery Date & Time Picker completely free.

🔐 CRITICAL SECURITY NOTICE (API KEYS)

To prevent your Google Maps API key from being stolen and abused by third parties, this plugin uses an advanced Dual-Key security architecture:
1. Public Key (Web Restricted): Used for front-end features like Maps JavaScript & Places Autocomplete API.
2. Private Key (IP Restricted): Used securely on the server side for Geocoding, Routes, & Directions API.
📌 Step-by-Step: How to Get your Google Maps API Keys safely

🔥 Why Switch from Paid Distance Rate Shipping Extensions?

Most distance shipping plugins cost upwards of $150/year. This lightweight, powerful plugin gives you premium local delivery logistics features for FREE, making it the best alternative to official WooCommerce Distance Rate Shipping, WPCargo, and Flexible Shipping.

🌟 Free Version Features

  • Accurate Distance Shipping Calculation – Automatically calculates shipping costs based on real-world driving routes via Google Maps.
  • Charge Per Kilometer (KM) or Mile – Seamlessly switches between Metric and Imperial units to match your regional delivery setup.
  • Google Maps Address Autocomplete – Speeds up user checkout and stops failed deliveries by suggesting verified addresses in real time.
  • Free Delivery Datepicker & Timepicker – Let customers schedule their preferred local delivery day and time slot right on the checkout page.
  • Live Dynamic Shipping Rates – Customers see their delivery fees adjust instantly as they type their delivery address.
  • WooCommerce Blocks & Classic Checkout Support – Works flawlessly with traditional checkout pages and the new modern Gutenberg Cart/Checkout blocks.

🚀 Advanced Features in PRO Version

Take total control of your delivery zones and complex logistics routing:
* Tiered Distance Pricing Rules – Set up complex brackets (e.g., $5 flat for 0–5 KM, then $1.50 per additional KM up to 15 KM).
* Maximum Delivery Radius Restriction – Set a hard mileage or KM limit to block orders from customers living outside your delivery zone.
* Store-to-Store & Custom Dual Addresses – Calculate delivery rates between two completely custom locations (perfect for point-to-point courier services).
* White-Label Custom Admin Labels – Change checkout text fields and delivery fee labels to match your store’s branding perfectly.
* Free Delivery Threshold by Cart Total – Offer free shipping by distance once a user spends a specific amount (e.g., Free delivery over $100 within a 10km radius).
* Force Checkout Address Verification – Prevent orders from processing until an accurate distance rate has been queried.
👉 Unlock Advanced Pricing Brackets – Upgrade to PRO

📽️ Proof & Live Demos

🎬 Watch our 3D Animated Explainer: Watch on YouTube
🚀 Test the Plugin Live (Free vs PRO Comparison): Try Live Demo

Is this a free alternative to WooCommerce Distance Rate Shipping?

Yes! This plugin serves as a highly optimized, fully functional free alternative to the official $150/year WooCommerce Distance Rate Shipping extension. It provides core mileage and kilometer-based calculations without forcing you into an expensive annual subscription.

How do I charge delivery fees per Mile or per KM?

Inside the plugin settings page (WooCommerce > WC Distance Calculator), you can choose your preferred unit of measurement (Kilometers or Miles). Once selected, you can set your base flat rate and cost per unit of distance.

Does this plugin support the new WooCommerce Block Checkout?

Yes. Unlike many legacy shipping plugins that break on modern WordPress setups, this plugin completely supports both the traditional WooCommerce Classic Checkout shortcode and the new high-conversion Cart and Checkout Blocks.

Why do I need two separate Google Maps API keys?

Security is our priority. If you use a single API key for map rendering and distance calculations, malicious users can scrape your key from the front-end code and use your billing account for their own apps. By splitting it into a Public Key (Web Restricted) and a Private Key (IP/Server Restricted), your Google Cloud billing is 100% safe from theft.

Can I restrict delivery if a customer lives too far away?

Limiting your delivery zone to a maximum radius (e.g., refusing to deliver past 25 Miles) is supported natively in our PRO version, which lets you block checkouts for addresses that fall outside your operational range.

Can customers select a specific delivery date and time?

Yes! Unlike other plugins that charge extra for scheduler modules, our Free version includes a built-in, lightweight Delivery Datepicker and Timepicker that embeds directly into your checkout page.

Does this plugin slow down my site’s checkout performance?

Not at all. The distance queries are optimized to fire asynchronously only when a valid address is typed. It utilizes the latest ultra-fast Google Routes API endpoint, ensuring your page speed scores and SEO metrics remain perfect.

Categories
Delivery & pickup
Plugin details
Version1.3.7
Last updated2026-06-29 3:57am GMT
Added2021-11-22
Requires WordPress6.8
Tested up to7.0.2
Requires PHP7.4

Tags on WordPress.org
calculate shipping by distance
distance rate shipping
google maps shipping
local delivery
woocommerce delivery plugin
Alternatives
Other plugins in the same categories.
PiWeb Delivery & Pickup Date Time for WooCommerce
500+ installs
4.8(90)
Pickup | Delivery | Dine-in date time
10+ installs
4.9(20)
Zorem Local Pickup
3K+ installs
4.7(55)
MyD Delivery
100+ installs
5.0(3)
QuickShipD — Estimated Delivery Date for WooCommerce
20+ installs
5.0(3)
Local Delivery Drivers for WooCommerce
900+ installs
4.3(18)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy