<!DOCTYPE html> <style> table { background: yellow; } td { height: calc(25px + 25px); } </style> <table><tr><td>Should be 50px tall</td></tr></table>