Because in the first one mIRC evaluates the $calc(2 / 1) to 2. Since the first parameter of /echo is taken to be a colour if it's an integer it says insufficient parameters as you have not specified any text to echo.

In the second one the first parameter given is not an integer, and therefore used as the text to echo.