Below you can download the official MIUI Stock Calculator application. This version was successfully tested on the Android 7.1.2.

Download Stock Calc APK from MIUI ROM

Download: com.miui.calculator.apk