Title: CaptainBrew Homebrew Calculators
Author: captainbrewcalculators
Published: <strong>December 2, 2026</strong>
Last modified: December 2, 2026

---

Search plugins

![](https://ps.w.org/captainbrew/assets/banner-772x250.png?rev=3839239)

![](https://ps.w.org/captainbrew/assets/icon-256x256.png?rev=3839239)

# CaptainBrew Homebrew Calculators

 By [captainbrewcalculators](https://profiles.wordpress.org/captainbrewcalculators/)

[Download](https://downloads.wordpress.org/plugin/captainbrew.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/captainbrew/#description)
 * [Reviews](https://wordpress.org/plugins/captainbrew/#reviews)
 *  [Installation](https://wordpress.org/plugins/captainbrew/#installation)
 * [Development](https://wordpress.org/plugins/captainbrew/#developers)

 [Support](https://wordpress.org/support/plugin/captainbrew/)

## Description

CaptainBrew Homebrew Calculators adds homebrewing tools from [CaptainBrew](https://captainbrew.com/)
to your WordPress or WooCommerce shop. Add them with a block or a shortcode.

The widgets need a CaptainBrew business account registered for your site’s domain.
The first month is free; see [pricing](https://captainbrew.com/embed-calculators).

**39 widgets:**

 * Recipe builder
 * ABV, IBU, priming sugar, keg carbonation, sparge water, mash, boil-off, hydrometer
   and refractometer calculators
 * Brewhouse efficiency, wort dilution and chaptalization calculators
 * Gravity converter (SG, Plato, Brix), mead calculator and recipe scaling calculator
 * Water chemistry, yeast pitching rate, washed yeast, viability and DME starter
   calculators
 * Unit, color and LME/DME conversion
 * Beer label generator: customers design and print bottle labels for their homebrew
 * Reference charts: carbonation (CO2 volumes by style and keg PSI), hop substitutions,
   hop alpha acids, yeast strains (Wyeast, White Labs), malt yields, grains, beer
   styles, food pairings, glassware, off-flavours, beer calories (popular beers 
   and styles)

**Made for homebrew shops:**

 * Your own product catalog in the recipe builder, so customers build recipes from
   what you sell.
 * Your brand colors on every widget.
 * Whitelabel mode: no CaptainBrew login or registration inside the recipe builder.
 * **WooCommerce add-to-cart:** customers click “Add to cart” in the recipe builder
   and the ingredients go straight into your WooCommerce cart. Ingredients are matched
   to products by SKU, and pack sizes are converted to whole packs. The header cart
   icon updates without leaving the recipe, and the cart page gets a Clear cart 
   button so customers can start over.

#### How it works

Each widget is an iframe served by captainbrew.com. The plugin builds the iframe
with your settings, sizes it for the visitor’s screen and loads it lazily. When 
add-to-cart is on, the recipe builder sends the recipe’s ingredients to the page,
and the plugin adds the matching products to the WooCommerce cart.

### External services

This plugin embeds widgets hosted by CaptainBrew (captainbrew.com). It does not 
work without that service.

 * **What is loaded:** every page with a CaptainBrew block or shortcode loads the
   widget from `https://captainbrew.com/iframes/` when the visitor scrolls to it.
 * **What is sent:** the visitor’s browser sends the usual request data to captainbrew.
   com (IP address, user agent and the referring page). CaptainBrew uses the referring
   page’s domain to find your account. The widget URL contains your display settings
   and your account’s Client ID. If you turn on “Keep recipes for customers who 
   are logged in to your site”, the URL also contains an anonymous ID for logged-
   in customers: a one-way hash of the WordPress user ID. No names, emails or order
   data are sent.
 * **Connection check (only after you allow it):** nothing is sent when the plugin
   is activated. When an administrator clicks Check connection under Settings > 
   CaptainBrew, or connects the site to a business account, the plugin sends your
   site’s domain to `https://captainbrew.com/iframes/connection_status.php`. After
   that it asks again when an administrator opens the settings page, at most every
   12 hours. The answer says whether your widgets will load and whether your trial
   has ended, and gives your account’s Client ID, which the plugin saves and adds
   to the widget URLs. The plugin has no scheduled background requests.
 * **Connect to CaptainBrew (optional):** clicking Connect on the settings page 
   opens the CaptainBrew business portal with your site’s address, where you sign
   in and approve the site. The portal sends you back with a one-time code; the 
   plugin sends that code and your site’s address to `https://captainbrew.com/plugin_api.
   php` and stores the key it gets back. Opening the settings page then loads your
   widget colors and registered domain from the same address, and saving sends the
   colors and domain you changed. Disconnect from the plugin or from the business
   portal at any time.
 * **Product catalog import (optional, connected sites):** the Product Catalog tab
   loads your catalog’s product counts from `https://captainbrew.com/plugin_api.
   php`, and Import into CaptainBrew uploads the .xlsx workbook you choose there,
   to replace your product catalog on CaptainBrew (your WooCommerce products are
   not changed). The sample workbook is downloaded from `https://captainbrew.com/
   download_catalog_template.php`.
 * **Inside the widget:** visitors may save recipes and brew sessions in the recipe
   builder. Those are stored by CaptainBrew. A visitor without an account can ask
   for their recovery code by email; CaptainBrew uses that address only to send 
   the code.
 * **Add to cart:** cart contents never leave your site. The plugin receives the
   ingredient list from the widget in the browser and adds products to the WooCommerce
   cart on your own server.

CaptainBrew terms of use: https://captainbrew.com/terms
 CaptainBrew privacy policy:
https://captainbrew.com/privacy

## Screenshots

[⌊The ABV calculator on a shop page, in the shop's colors.⌉⌊The ABV calculator on
a shop page, in the shop's colors.⌉[

The ABV calculator on a shop page, in the shop’s colors.

[⌊The recipe builder with the shop's own products: gravity, bitterness, color and
alcohol update as you go, with "Add to cart" in the action row.⌉⌊The recipe builder
with the shop's own products: gravity, bitterness, color and alcohol update as you
go, with "Add to cart" in the action row.⌉[

The recipe builder with the shop’s own products: gravity, bitterness, color and 
alcohol update as you go, with “Add to cart” in the action row.

[⌊The recipe's ingredients in the WooCommerce cart.⌉⌊The recipe's ingredients in
the WooCommerce cart.⌉[

The recipe’s ingredients in the WooCommerce cart.

[⌊Settings > CaptainBrew: the Features tab, next to Settings (connection status),
Product Catalog and Shortcodes.⌉⌊Settings > CaptainBrew: the Features tab, next 
to Settings (connection status), Product Catalog and Shortcodes.⌉[

Settings > CaptainBrew: the Features tab, next to Settings (connection status), 
Product Catalog and Shortcodes.

[⌊Adding a widget with the CaptainBrew Widget block.⌉⌊Adding a widget with the CaptainBrew
Widget block.⌉[

Adding a widget with the CaptainBrew Widget block.

## Blocks

This plugin provides 1 block.

 *   CaptainBrew Widget A CaptainBrew brewing calculator, chart or the recipe builder.

## Installation

 1. Create a CaptainBrew business account at https://captainbrew.com/business_portal_register.
    php with your site’s domain, and activate it from the email you receive.
 2. Install and activate the plugin. **Settings > CaptainBrew** shows whether your 
    site is connected.
 3. Add the **CaptainBrew Widget** block to any page and pick a widget, or use a shortcode
    such as `[captainbrew widget="abv-calculator"]`.
 4. Optional, for WooCommerce add-to-cart: import your catalog in the business portal
    using your WooCommerce SKUs as the `productIdentifier`, then turn on **Add to cart**
    under WooCommerce add to cart.

## FAQ

### Do I need an account?

Yes. Widgets only load on the domain registered in an activated CaptainBrew business
account. The first month is free. You do not need to paste anything into the plugin:
CaptainBrew finds your account from your site’s domain, and the plugin fills in 
your Client ID by itself.

### The widget shows “Forbidden”

Widgets only load on the domain registered in your CaptainBrew business account,
once it is activated and while your trial or subscription is active. Settings > 
CaptainBrew shows which of these applies.

### Which shortcode attributes are there?

 * `widget` (required): the widget slug. The list, with a Copy button for each, 
   is in Settings > CaptainBrew > Shortcodes.
 * `height`: a fixed height in pixels. By default the height adapts to the screen
   width.
 * `title`: `yes` or `no` to show or hide the widget’s title.
 * `whitelabel`: `yes` or `no` to override the whitelabel setting for this recipe
   builder.

### How are ingredients matched to my products?

By SKU. The `productIdentifier` of each ingredient in your CaptainBrew catalog is
looked up as a WooCommerce SKU (simple products and variations). If your identifiers
differ from your SKUs, add lines such as `PALE-MALT-2LB = MALT-001` under Different
SKUs. You can map to a product ID instead of a SKU. Ingredients that are not found,
are out of stock or cannot be bought are listed to the customer, and the rest are
added.

### Can I change the colors?

Yes. Set your brand colors in the CaptainBrew business portal under Settings. They
apply to every widget on your registered domain.

### Developers

 * `CAPTAINBREW_BASE_URL` constant: load widgets from another CaptainBrew install,
   for example for local development.
 * `captainbrew_widgets` filter: change the widget list.
 * `captainbrew_product_id` filter: custom product matching. Receives the matched
   product ID and the productIdentifier.
 * `captainbrew_woocommerce_cart_enabled` filter.
 * `captainbrew_show_clear_cart` filter: return false to hide the Clear cart button
   on the cart page.
 * `captainbrew:added_to_cart` DOM event on `document.body` after products are added.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CaptainBrew Homebrew Calculators” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ captainbrewcalculators ](https://profiles.wordpress.org/captainbrewcalculators/)

[Translate “CaptainBrew Homebrew Calculators” into your language.](https://translate.wordpress.org/projects/wp-plugins/captainbrew)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/captainbrew/), check
out the [SVN repository](https://plugins.svn.wordpress.org/captainbrew/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/captainbrew/) by
[RSS](https://plugins.trac.wordpress.org/log/captainbrew/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * New widget: Beer Calories Chart, with calories and ABV for popular beers and 
   estimated calories for each beer style.

#### 1.0.0

 * First release: 38 widgets, block, shortcode, responsive heights, whitelabel mode,
   WooCommerce add-to-cart and a connection check on the settings page.

## Meta

 *  Version **1.0.1**
 *  Last updated **10 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [beer](https://wordpress.org/plugins/tags/beer/)[calculator](https://wordpress.org/plugins/tags/calculator/)
   [homebrew](https://wordpress.org/plugins/tags/homebrew/)[Recipe](https://wordpress.org/plugins/tags/recipe/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/captainbrew/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/captainbrew/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/captainbrew/reviews/)

## Contributors

 *   [ captainbrewcalculators ](https://profiles.wordpress.org/captainbrewcalculators/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/captainbrew/)