How can i calculate force of tension?
In general, there is no formula for tension. Instead, you usually have to find all of the other forces in the problem and then solve for tension.
For example, let's say there are three force acting on your object, two that you know and one unknown tension force. The object is as rest.
Using Newton's second law :