There's a spreadsheet here that might help, you need to study it for a while first.
http://www.mycncuk.com/threads/2023-Some-thoughts-on-cnc-machine-design-principles?p=13797#post13797
You don't...