Binary package “bcal” in ubuntu cosmic

Command-line utility for storage conversions and calculations

 Feature
 .
  - 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