Elliptic Curve Point Doubling

Your calculations are entirely correct. The online calculator is certainly incorrect, as $$2511^2\not\equiv4860^3+4860+1\pmod{7919}.$$ Why the online calculator gives this incorrect result, I cannot tell you. I can only suggest to use a more established computer tool such as PARI/GP or Sage.


Your calculations are correct. You can verify it on Sage.

Paste the following into this page and click "Evaluate" to see the result.

E = EllipticCurve(Integers(7919), [1, 1])
P = E([0, 1])

print(E)
print(P)

4*P