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
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it 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

Console/Terminal, Command-line

Programming Language

C

Related Categories

C Storage Software, C Calculators

Registered

2017-08-03