bcal
brew install bcal
v2.5
GPL-3.0-or-later
Storage conversion and expression calculator
8
30-day installs · #9397
32
90-day · #8470
143
365-day · #8235
695
★ GitHub stars · updated 2mo ago
GitHub topics
calculator
cli
command-line
console
developer-tools
expression-evaluator
mathematics
standalone
storage
storage-unit-converter
terminal
unit-conversion
Links
- https://github.com/jarun/bcal
- GitHub: jarun/bcal
- Brew formula source: Formula/b/bcal.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Storage conversion and expression calculator",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:48+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "bcal",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-10T14:23:23Z",
"github_readme_excerpt": "\u003ch1 align=\"center\"\u003ebcal\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/jarun/bcal/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/release/jarun/bcal.svg?maxAge=600\u0026label=rel\" alt=\"Latest release\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://repology.org/project/bcal/versions\"\u003e\u003cimg src=\"https://repology.org/badge/tiny-repos/bcal.svg?header=repos\" alt=\"Availability\"\u003e\u003c/a\u003e\n\u003ca href=\"https://circleci.com/gh/jarun/workflows/bcal\"\u003e\u003cimg src=\"https://img.shields.io/circleci/project/github/jarun/bcal.svg?label=CircleCI\" alt=\"Circle CI Status\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/jarun/bcal/actions\"\u003e\u003cimg src=\"https://github.com/jarun/bcal/actions/workflows/ci.yml/badge.svg?branch=master\" alt=\"GitHub CI Status\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://scan.coverity.com/projects/jarun-bcal\"\u003e\u003cimg src=\"https://img.shields.io/coverity/scan/17148.svg\" alt=\"Coverity Scan Build Status\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/jarun/bcal/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-GPLv3-yellowgreen.svg?maxAge=2592000\" alt=\"License\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://asciinema.org/a/168719\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/0c4f9c7c-7791-4610-9a2a-988add949a6a\" alt=\"bcal_asciicast\" width=\"600\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n`bcal` (*Byte CALculator*) is a REPL CLI utility for storage expression (e.g. `\"(2GiB * 2) / (2KiB \u003e\u003e 2)\"`) evaluation, SI/IEC conversion, byte address calculation, base conversion and LBA/CHS calculation. It\u0027s very useful for those who deal with bits, bytes, addresses and binary prefixes frequently.\n\nIt also supports general-purpose operations (program option `-b`, prompt key `b`).\n\n`bcal` uses [SI and IEC binary prefixes](https://en.wikipedia.org/wiki/Binary_prefix) and supports 64-bit Operating Systems only.\n\n### Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n - [Dependencies](#dependencies)\n - [From a package manager](#from-a-package-manager)\n - [From source](#from-source)\n - [make options](#make-options)\n - [Termux](#termux",
"github_repo": "jarun/bcal",
"github_stars": 695,
"github_topics": [
"calculator",
"cli",
"command-line",
"console",
"developer-tools",
"expression-evaluator",
"mathematics",
"standalone",
"storage",
"storage-unit-converter",
"terminal",
"unit-conversion"
],
"homepage": "https://github.com/jarun/bcal",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 8,
"installs_365d": 143,
"installs_90d": 32,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-3.0-or-later",
"llm_generated_at": null,
"llm_model": null,
"name": "bcal",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 9397,
"rank_365d": 8235,
"rank_90d": 8470,
"raw_hash": "00038f91072a32e0",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/b/bcal.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.5",
"versioned_formulae": [],
"why_use_this": null
}