How to Use BGrid
Complete guide to navigating and sharing locations using the hierarchical coordinate system
📑 Table of Contents
What is BGrid?
BGrid is a hierarchical coordinate system that divides the entire Earth's surface into a grid of parcels. Unlike traditional latitude and longitude coordinates, BGrid uses a recursive subdivision approach where each level divides the world into exactly 2048 parcels.
This system allows you to reference any location on Earth using either:
- Numbers: Numeric identifiers (0-2047) for each parcel at each level
- BIP39 Words: Memorable words from the Bitcoin Improvement Proposal 39 wordlist
- Decimal Degrees (DD): Traditional latitude and longitude format
The hierarchical nature means each parcel can be further subdivided into 2048 smaller parcels, creating a tree-like structure that allows for progressively finer location precision.
Getting Started
Basic Navigation
Desktop:
- Pan: Click and drag the map to move around
- Zoom: Use mouse wheel or +/- buttons to zoom in/out
- Select: Click any grid cell to select it and view its coordinates
- Reset: Click the BGrid logo to return to the initial view (Level 0)
Mobile/Touch:
- Pan: Drag with one finger to move the map
- Zoom: Pinch with two fingers to zoom in/out
- Select: Tap any grid cell to select it
- Menu: Tap the hamburger menu (☰) to access controls
Interface Overview
The sidebar (desktop) or menu (mobile) contains:
- Language Selector: Choose your preferred language
- Display Format Buttons: Switch between Numbers, Words, or DD format
- Location Information: Shows current level and coordinates
- Grid Lines Toggle: Show or hide the grid overlay
- Coordinate Converter: Transform lat/lon to BGrid coordinates
Understanding Precision Levels
BGrid uses a hierarchical level system where each level provides increasingly precise location references. The system starts at Level 0 (the entire Earth) and can theoretically extend to any depth.
Level Structure
Level 0: The entire Earth (1 parcel, ~510,000,000 km²)
Level 1: 2,048 parcels (~249,000 km² = 249,000,000,000 m² each, ~625 km per side)
Level 2: 4,194,304 parcels (~122 km² = 122,000,000 m² each, ~10-20 km per side)
Level 3: 8,589,934,592 parcels (~59,500 m² each, ~306 m per side)
Level 4: 17,592,186,044,416 parcels (~29 m² each, ~5-10 m per side)
Choosing the Right Level
- L1: Best for countries, large regions, or states (~625 km accuracy)
- L2: Ideal for cities, districts, or large neighborhoods (~10-20 km accuracy)
- L3: Perfect for buildings, blocks, or specific locations (~300 m accuracy)
- L4: Very precise - individual building or address level (~5-10 m accuracy)
Tip: Start with a lower level for general areas and increase precision as needed. Higher levels create exponentially more parcels and require longer coordinate strings.
Display Formats
BGrid supports three different coordinate display formats, each with unique advantages:
1. Numbers Format
Displays BGrid coordinates as numeric sequences separated by dashes. Each number represents the parcel ID at that level.
1024-512-1847
This represents parcel 1024 at L1, subdivided to parcel 512 at L2, then parcel 1847 at L3.
Best for: Computing, APIs, databases, and technical applications
2. Words Format (BIP39)
Converts numeric coordinates to memorable words from the BIP39 wordlist (2048 words total). This format is designed for human memorization and verbal communication.
middle-drift-weapon
Same location as above, but using memorable words instead of numbers.
Best for: Emergency services, verbal communication, memorization, and accessibility
3. Decimal Degrees (DD)
Shows the center point of the selected parcel in standard latitude and longitude format.
48.858370, 2.294481
Traditional coordinates showing the Eiffel Tower's location.
Best for: GPS devices, mapping software, and compatibility with existing systems
Switching Formats
Use the format selector buttons in the sidebar to switch between formats instantly. The URL will update automatically to preserve your selected format when sharing.
Coordinate Converter
The built-in converter allows you to transform traditional latitude/longitude coordinates into BGrid format. This is especially useful when you have GPS coordinates and want to express them in BGrid notation.
How to Use the Converter
- Enter Coordinates: Type latitude and longitude in decimal degrees format,
separated by a comma (e.g.,
40.7128, -74.0060for New York City) - Select Level: Choose your desired precision level (L1, L2, L3, or L4)
- Convert: Click the "Convert" button to process the coordinates
- View Results: The map will center on the location and display the BGrid coordinates
Input Format Requirements
Latitude: -90 to +90 (negative for South, positive for North)
Longitude: -180 to +180 (negative for West, positive for East)
Format: latitude, longitude (comma-separated)
Example Coordinates to Try
- Eiffel Tower, Paris:
48.858370, 2.294481 - Statue of Liberty, NYC:
40.689249, -74.044500 - Sydney Opera House:
-33.856784, 151.215297 - Taj Mahal, India:
27.175015, 78.042155 - Christ the Redeemer, Rio:
-22.951916, -43.210487
Sharing Locations
Every location and view state in BGrid has a unique URL that can be shared with anyone. The URL encodes the coordinates, format, level, and zoom state, ensuring recipients see exactly what you see.
How to Share
- Navigate or Convert: Find your desired location on the map
- Click Share Button: Click the share icon (📤) in the header
- Copy URL: The URL is automatically copied to your clipboard
- Share: Paste the URL in email, messaging apps, social media, etc.
URL Structure
BGrid URLs encode location information in a readable format:
https://maps.bgrid.org/#coords=1024-512-1847&format=numbers&level=3
Sharing Best Practices
- Choose Format: Select Words format for verbal sharing, Numbers for technical use
- Verify Precision: Ensure the level matches your intended precision before sharing
- Test Links: Open shared URLs to verify they point to the correct location
- QR Codes: Generate QR codes from URLs for easy mobile scanning
Advanced Features
Grid Lines Visualization
Toggle the grid overlay to see parcel boundaries at your current zoom level. Grid lines dynamically adjust as you zoom, always showing relevant divisions.
- On: Shows parcel boundaries with colored borders
- Off: Clean map view without grid overlay
Multi-Language Support
BGrid's interface is available in five languages:
- 🇺🇸 English
- 🇪🇸 Español (Spanish)
- 🇫🇷 Français (French)
- 🇧🇷 Português (Portuguese)
- 🇨🇳 中文 (Chinese)
Note: BIP39 words remain in English for consistency, but UI labels and instructions will be translated to your selected language.
Keyboard Shortcuts (Desktop)
- +/- keys: Zoom in/out
- Arrow keys: Pan the map in any direction
- Home key: Return to Level 0 view
- Escape: Close open dialogs
Mobile Optimizations
- Touch Gestures: Full support for pinch-zoom and drag navigation
- Bottom Info Bar: Quick access to coordinates without opening menu
- Collapsible Menu: Saves screen space while navigating
- Orientation Support: Works in both portrait and landscape modes
Technical Details
How BGrid Works
BGrid uses a recursive space subdivision algorithm that divides the Earth's surface into progressively smaller parcels:
- Start with the entire Earth as a single polygon (Level 0)
- At each level, divide each parcel into exactly 2048 sub-parcels
- Each sub-parcel is numbered 0-2047
- Coordinates form a path: Level1-Level2-Level3-...
Coordinate Precision
The precision of BGrid coordinates depends on the chosen level. Each parcel represents the center point with the following accuracy:
L1: ±312 km accuracy (parcel center within ~625 km cell)
L2: ±5-10 km accuracy (parcel center within ~10-20 km cell)
L3: ±153 m accuracy (parcel center within ~306 m cell)
L4: ±2.5-5 m accuracy (parcel center within ~5-10 m cell)
BIP39 Word Mapping
Each parcel number (0-2047) maps to a unique word from the BIP39 wordlist. This 1:1 mapping ensures:
- Consistent conversion between numbers and words
- No ambiguity or conflicts
- Easy verification and validation
- Compatibility with Bitcoin/crypto tools
Data & Privacy
- No Tracking: BGrid does not track user locations or behavior
- No Server Storage: All coordinates are encoded in URLs
- Open Source: Code is publicly available on GitHub
- Offline Capable: Can be hosted locally or run offline
Map Technology
BGrid uses OpenStreetMap via Leaflet.js for map rendering. This provides:
- Free, open-source mapping data
- Regularly updated geographic information
- Community-driven accuracy improvements
- No vendor lock-in
Real-World Use Cases
Emergency Services
Emergency responders can use BGrid words for quick, verbal location communication:
Logistics & Delivery
- Define delivery zones using BGrid parcels
- Assign drivers to specific L1 or L2 regions
- Track packages down to building-level precision (L3)
- Optimize routes based on hierarchical proximity
Real Estate & Property
- Reference plots and lots without complex legal descriptions
- Create searchable property identifiers
- Establish digital land registries
- Enable global property databases
Gaming & Augmented Reality
- Define in-game territories using BGrid parcels
- Create location-based challenges and rewards
- Establish virtual property ownership
- Build decentralized metaverse locations
Remote & Rural Areas
- Reference locations without street addresses
- Share hiking or camping spots precisely
- Coordinate search and rescue operations
- Document scientific field work locations
Privacy & Decentralization
- Share locations without revealing exact addresses
- Use location references independent of centralized services
- Maintain location history without cloud dependencies
- Build privacy-first location applications
Research & Science
- Create standardized location identifiers for data collection
- Reference environmental monitoring sites
- Track wildlife observations with hierarchical precision
- Establish global research site networks
Frequently Asked Questions
How is BGrid different from What3Words?
While both systems use words to reference locations, BGrid is fundamentally different:
- Hierarchical: BGrid uses levels that nest within each other
- Open: BGrid is open-source and can be freely implemented
- Flexible: BGrid supports numbers, words, and decimal degrees
- Scalable: BGrid precision can extend to any level needed
Can I use BGrid offline?
The BGrid calculation system works offline. However, the OpenStreetMap tiles require an internet connection. For offline use, you can host BGrid locally with cached map tiles.
Is BGrid accurate enough for navigation?
BGrid at L3 provides meter-level accuracy, suitable for most navigation needs. L4 offers centimeter precision for applications requiring extreme accuracy.
How do I convert BGrid coordinates programmatically?
The BGrid algorithm is open-source and available on GitHub. You can implement it in any programming language or use the provided JavaScript library.
Why 2048 divisions per level?
2048 (2^11) is a power of two, making calculations efficient. It also corresponds exactly to the BIP39 wordlist size, enabling perfect word mapping without gaps or overlaps.
Can parcels cross borders or water?
Yes. BGrid parcels are geometric divisions of the Earth's surface and do not consider political borders, bodies of water, or land features. They are purely mathematical.
How do I cite or attribute BGrid?
BGrid is open-source and free to use. Attribution is appreciated but not required. Link to bgrid.org or the GitHub repository when mentioning the system.
Is there an API for BGrid?
BGrid is designed to be implemented client-side without requiring a central API. All calculations can be performed locally. Check the GitHub repository for implementation libraries and examples.
Ready to Try BGrid?
Start exploring and sharing locations using the hierarchical coordinate system
Launch BGrid Map