Let $S\subset R$ be a multiplicative set and given a ring homomorphism $\phi:R\rightarrow S^{-1}R$ by $r\rightarrow \frac{r}{1}$ to be the localization map. We define $\frac{r}{s}=\frac{r'}{s'}$ with $r,r'\in R, s, s'\in S$ only if $\exists k\in S$ such that $k(rs'-r's)=0$
By definition we have $\ker(\phi)=\{a\in R: \exists s\in S\text{ such that } sa=0\}$. If we add some restrictions on $R$ and $S$ such that $R$ is a domain and $S$ contains no zero-divisors or zero, then $\ker(\phi)=0$.Or $0\in S$ then $\ker(\phi)=R$.
However, when in general, I can't think of a general form of such kernel (in order to "determine" it). (the only thing I can say is $\ker(\phi)$ is an ideal) Thanks in advance.
There is not much you can do in general, it really depends on the particular case. Consider, for instance, $R= \mathbb{Z} / 8 \mathbb{Z}$, with $S:= \{f^n \mid n \ge 0\}$ for some $f \in R$. You can then have a look at some possibilities:
Every element is either a nilpotent or invertible, hence $\ker(\phi)$ can only be $R$ or $\{0\}$. But for instance, if $R= \mathbb{Z} / 6 \mathbb{Z}$, the element $2$ is a zero-divisor but is not nilpotent, and you get