Period (T) of oscillation for a single object oscillating in SHM:
Spring:
where k represents the spring constant, and m represents the mass attached to the spring.
Pendulum:
where L represents the length of pendulum, and g represents the gravitational acceleration.
Torsion pendulum:
where I represents the rotational inertia of the twisting mass, and
represents the torsion constant.