Find t score from percentile

No.13145707 ViewReplyOriginalReport
Hey /sci/,

I'm working on coding a stat program but I've come across a problem. I can't find any equation on the internet on how to calculate t score from percentile in a t distribution. This would be useful for confidence intervals in statistics.

I looked on wikipedia but it just said plug and chug t score to percentile. However, I know for Z-score there is the inverse normal distribution which can be used to calculate percentile to zscore. Any help /sci/?