← Retour au blog
tech 29 May 2026

Emacs Bra Size Calculator: A Geeky and Practical Solution

Discover how a developer turned Emacs into a bra size calculator. An ingenious use of the tool to meet a personal need.

Introduction

In the world of development tools, Emacs is a true legend. Known for its flexibility and countless features, few would have imagined it could be used to calculate bra sizes. Yet, this is exactly what one developer achieved, turning Emacs into an unexpected personal assistant.

Why Use Emacs as a Bra Size Calculator?

The idea might seem odd at first glance. However, for Emacs enthusiasts, the tool is much more than just a text editor. With its ability to execute code, Emacs becomes a powerful platform for automating various tasks, even those that stray from pure programming.

How the Calculator Works

The core of the calculator relies on an Emacs Lisp function called my-math-compute-bra-size. This function uses Emacs' built-in capabilities to perform unit conversions. By providing band (underbust) and bust measurements as unit-suffixed strings, the function calculates the bra size according to different regional standards (EU, UK, US).

Example of Use

Imagine you have a band measurement of 90 cm and a bust measurement of 105 cm. Using the function with these values and specifying 'eu' for the European standard, the calculator will return "90B". This process is made possible by Emacs Calc's unit handling, which even allows for whimsical conversions like turning centimeters into light years.

Benefits of Integration with Emacs

  • Customization: By using Emacs, you can tailor the process to your specific needs.
  • Automation: Integrating this function into an Org table in Emacs allows for automatic updates of bra sizes for different measurements.
  • Tracking Over Time: You can maintain a history of your measurements and calculations in Emacs, facilitating tracking changes over time.

Conclusion

Using Emacs to calculate a bra size is a perfect example of the power and versatility of this tool. For developers and technology enthusiasts, it showcases how one can turn a personal need into an elegant software solution.

Let's discuss your project in 15 minutes.

Emacs bra size calculator Emacs Lisp automation customization
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call