My sewing machine is recessed into the sewing table; I raise an office chair as high as possible to still have my knees fit underneath. If your sewing machine sits on top of a table, you need to sit higher.
Basically your elbows should be at about the same height as the surface you are sewing on. Theoretically you should be able to rest your forearms on the sewing surface.