diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php
index baa0f74492..97e1c0535a 100644
--- a/lib/private/Avatar.php
+++ b/lib/private/Avatar.php
@@ -63,8 +63,8 @@ class Avatar implements IAvatar {
/**
* https://github.com/sebdesign/cap-height -- for 500px height
* Automated check: https://codepen.io/skjnldsv/pen/PydLBK/
- * Nunito cap-height is 0.713 and we want a 200px caps height size
- * (0.4 letter-to-total-height ratio, 500*0.4=200), so: 200/0.713 = 280px.
+ * Nunito cap-height is 0.716 and we want a 200px caps height size
+ * (0.4 letter-to-total-height ratio, 500*0.4=200), so: 200/0.716 = 279px.
* Since we start from the baseline (text-anchor) we need to
* shift the y axis by 100px (half the caps height): 500/2+100=350
*
@@ -73,7 +73,7 @@ class Avatar implements IAvatar {
private $svgTemplate = '
';
/**
diff --git a/tests/lib/AvatarTest.php b/tests/lib/AvatarTest.php
index 5d72ec02e2..c8c9d3b831 100644
--- a/tests/lib/AvatarTest.php
+++ b/tests/lib/AvatarTest.php
@@ -235,7 +235,7 @@ class AvatarTest extends \Test\TestCase {
$svg = '
';
$this->assertEquals($avatar, $svg);
}