User Rating 0.0
Total Usage 0 times
Select ingredients from the dropdown or try a preset below
Your Ingredients (0)
Quick presets:
Is this tool helpful?

Your feedback helps us improve.

About

The average home bar contains 8 to 15 spirit and mixer bottles. The number of possible cocktail combinations from n ingredients is 2n 1, meaning 12 bottles yield 4095 theoretical subsets. Without a structured lookup, most people rotate through 3 or 4 memorized recipes and ignore hundreds of viable drinks. This tool queries a database of over 600 cocktail recipes, performs set intersection against your declared ingredient list, and returns only drinks you can actually make right now. It pulls full recipes including exact measures, glassware, and garnish instructions. If your ingredient shelf comes up empty, it falls back to geolocation and finds bars and liquor stores within a configurable radius. Note: the matching algorithm treats each ingredient as a binary flag (present or absent). It does not account for quantity on hand. You may have the right bottles but not enough volume for a full recipe.

cocktail generator drink recipes ingredient search mixed drinks cocktail finder bar locator recipe maker

Formulas

The core matching logic uses set intersection. Given a user ingredient set U and a cocktail's required ingredient set Ck, the cocktail is makeable when:

Ck U Ck U = Ck

The match percentage for partially matching cocktails is computed as:

M = |Ck U||Ck| × 100%

For nearby place distance, the Haversine formula computes great-circle distance between two coordinate pairs (φ1, λ1) and (φ2, λ2):

d = 2R arcsin(sin2(Δφ2) + cosφ1 cosφ2 sin2(Δλ2))

Where R = 6371 km (Earth's mean radius), Δφ = φ2 φ1, and Δλ = λ2 λ1.

Reference Data

Spirit / IngredientCategoryABV RangeCommon CocktailsShelf Life (Opened)
VodkaBase Spirit37.5 - 50%Moscow Mule, Cosmopolitan, MartiniIndefinite
GinBase Spirit37.5 - 47%Gin & Tonic, Negroni, Tom CollinsIndefinite
White RumBase Spirit37.5 - 40%Mojito, Daiquiri, Piña ColadaIndefinite
Dark RumBase Spirit40 - 75%Dark & Stormy, Mai Tai, Rum PunchIndefinite
TequilaBase Spirit38 - 40%Margarita, Paloma, Tequila SunriseIndefinite
BourbonBase Spirit40 - 50%Old Fashioned, Whiskey Sour, Mint JulepIndefinite
Triple SecLiqueur15 - 40%Margarita, Cosmopolitan, Sidecar3 - 4 years
CampariBitter Liqueur20.5 - 28%Negroni, Americano, Boulevardier1 year
Sweet VermouthFortified Wine15 - 18%Manhattan, Negroni, Rob Roy1 - 3 months (refrigerated)
Dry VermouthFortified Wine15 - 18%Dry Martini, El Presidente1 - 3 months (refrigerated)
Lime JuiceCitrus / Mixer0%Daiquiri, Gimlet, Mojito2 - 3 days (fresh)
Lemon JuiceCitrus / Mixer0%Whiskey Sour, Tom Collins, French 752 - 3 days (fresh)
Simple SyrupSweetener0%Old Fashioned, Daiquiri, Mojito1 month (refrigerated)
Angostura BittersBitters44.7%Old Fashioned, Manhattan, Champagne Cocktail5 years
GrenadineSyrup0%Tequila Sunrise, Shirley Temple, Jack Rose1 - 2 months
Coconut CreamMixer0%Piña Colada, Painkiller5 - 7 days (opened)
Soda WaterCarbonated Mixer0%Tom Collins, Mojito, Whiskey HighballUse same day
Tonic WaterCarbonated Mixer0%Gin & Tonic, Vodka TonicUse same day
Ginger BeerCarbonated Mixer0 - 0.5%Moscow Mule, Dark & Stormy3 - 5 days
KahluaCoffee Liqueur20%White Russian, Espresso Martini, B-524 years
BaileysCream Liqueur17%B-52, Mudslide, Irish Coffee6 months
AmarettoNut Liqueur21 - 28%Amaretto Sour, Godfather2 years
AbsintheHerbal Spirit45 - 74%Corpse Reviver #2, Sazerac, Death in the AfternoonIndefinite
ChampagneSparkling Wine12%French 75, Bellini, Mimosa1 - 3 days
Orange JuiceJuice / Mixer0%Screwdriver, Tequila Sunrise, Mimosa7 - 10 days
Cranberry JuiceJuice / Mixer0%Cosmopolitan, Cape Codder, Sea Breeze7 - 10 days

Frequently Asked Questions

The tool displays partial matches ranked by match percentage M. A cocktail needing 5 ingredients where you have 4 scores 80%. This helps you discover drinks you're close to making. Missing ingredients are highlighted so you can decide whether a quick store run is worthwhile.
The tool queries TheCocktailDB which catalogs over 600 recipes with standardized ingredient names. Matching is case-insensitive and uses normalized strings. However, the database treats variants separately. For example, "Light Rum" and "Dark Rum" are distinct entries. Selecting "Rum" alone will not match recipes requiring a specific rum type.
No. The geolocation feature uses OpenStreetMap's Overpass API which returns points of interest tagged as bars, pubs, or liquor stores. Operating hours depend on whether the venue has published that data to OSM. Most entries lack hours metadata. Treat results as location references and verify hours independently.
Partially. The ingredient list and any previously fetched cocktail data are cached in LocalStorage. If you reload without internet, the tool restores your last ingredient selection and cached results. However, new API queries for cocktail lookups or nearby places require an active connection. A toast notification will inform you if a request fails due to network issues.
TheCocktailDB hosts images on their CDN. Some entries, particularly user-submitted or lesser-known cocktails, may lack an image. The tool displays a styled placeholder with the drink's initials when no image URL is returned from the API. This is a data completeness issue upstream, not a rendering bug.
Distance uses the Haversine formula which computes great-circle distance on a sphere with radius R = 6371 km. This assumes a perfect sphere and ignores terrain, roads, and elevation. Actual walking or driving distance will always be longer than the displayed straight-line value. Accuracy of your GPS coordinates (typically ±10 m outdoors) also affects results.