bcal (Byte CALculator) is a command-line utility for storage conversions and calculations. Storage, hardware and firmware developers work with numerical calculations regularly e.g., storage unit conversions, address calculations etc. If you are one and can't calculate the hex address offset for (512 - 16) MiB immediately, or the value when the 43rd bit of a 64-bit address is set, bcal is for you.

Though it started with storage, the scope of bcal isn't limited to the storage domain. Feel free to raise PRs to simplify other domain-specific numerical calculations so it can evolve into an engineer's utility.

bcal follows Ubuntu's standard unit conversion and notation policy. Only 64-bit operating systems are supported.

Features

  • evaluate arithmetic expressions involving storage units
  • convert to IEC/SI standard data storage units
  • show the address in bytes
  • show address as LBA:OFFSET
  • convert CHS to LBA and vice versa
  • show binary, decimal and hex representation of a number
  • custom sector size, max heads/cylinder and max sectors/track
  • minimal dependencies

Project Samples

Project Activity

See All Activity >

Categories

Storage, Calculators

License

GNU General Public License version 3.0 (GPLv3)

Follow bcal

bcal Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of bcal!

Additional Project Details

Operating Systems

Linux

User Interface

Command-line, Console/Terminal

Programming Language

C

Related Categories

C Storage Software, C Calculators

Registered

2017-08-03