In this work we propose a new numerical method to evaluate the critical point, the susceptibility critical exponent and the correlation length critical exponent of the three dimensional Ising model without external field using an algorithm that evaluates directly the derivative of the logarithm of the probability distribution function with respect to the magnetisation. Using standard finite-size scaling theory we found that correction-to-scaling effects are not present within this approach. Our results are in good agreement with previous reported values for the three dimensional Ising model.