Consider a projective variety $X$, and let $Y$ be a closed subvariety. Consider the blow-up of $X$ along Y: we obtain a new variety $\tilde{X}\subset X\times \mathbb{P}^{\dim Y}$, together with a birational map $$b:\tilde{X}\to X$$ which is an isomorphism outside the exceptional locus $\tilde{Y}= b^{-1}(Y) \simeq \mathbb{P}(\mathcal{N}_{Y\mid X})$.
Question: Is it true that $\dim\tilde{X}=\dim X$?
My idea: The blow-up is a birational map, hence an isomorphism on an open (dense) subset; since the dimension of a variety is defined as the trascendence degree of the function field, which is the same on open set, then we can conclude.
Is my idea correct? I'm asking this becuase, while I'm convinced of this for the case of blowing-up a point, for the general case of a subvariety I'm not sure, becuase intuitively it looks like to me I'm adding quite a big space (I know, it's not rigorous, but I've just started studying this topic).