Hey, I hope this is on the radar for 2019. It would be so helpful. Sketch App does this very well as do other design tools.
Thanks for the request, I’ve added +1 to this in our feature tracker.
Related Thread: Simple Maths in Size input Field?