Given metric spaces E and F , it is well known thatwhere dimH E, dimP E, dim B E, dimBE denote the Hausdorff, packing, lower box-counting, and upper box-counting dimension of E, respectively. In this note we shall provide examples of compact sets showing that the dimension of the product E ×F may attain any of the values permitted by the above inequalities. The proof will be based on a study on dimension of the product of sets defined by digit restrictions.