A small electronic calculator that can be programmed to carry out calculations related to a specific medical treatment, e.g., measuring infusion dosages, or the degree of stenosis in a coronary vessel where measurements are taken from x-ray films using an electronic calliper coupled to a programmed calculator. Dedicated software may be necessary to effect the device's intended purpose.