# karpathy/micrograd SLOC report

> As of 2026-09-06 (commit c911406e5ace), karpathy/micrograd contains 564 total lines: 402 code, 78 comments, 84 blank, across 8 files in 4 languages (top: SVG 43.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving karpathy/micrograd to commit c911406e5ace, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a small codebase by counted code lines. Code represents 71.3% of all lines, comments represent 13.8%, and the repository averages 50 code lines per file. SVG accounts for 43.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| SVG | 1 | 207 | 175 | 32 | 0 |
| Python | 4 | 176 | 128 | 3 | 45 |
| Jupyter Notebooks | 2 | 137 | 99 | 19 | 19 |
| Markdown | 1 | 44 | 0 | 24 | 20 |

Top language (SVG 43.5%). Generated at 2026-09-06T10:40:32.588483430+00:00. Canonical report: https://octocounts.com/github/karpathy/micrograd

## Report FAQ

### How many lines of code does karpathy/micrograd have?

karpathy/micrograd has 564 total lines, including 402 code lines, 78 comment lines, and 84 blank lines.

### How was the karpathy/micrograd line count measured?

OctoCounts resolved the public GitHub repository to commit c911406e5ace, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for karpathy/micrograd?

This OctoCounts report was generated from c911406e5ace8742e5841a7e0df113ecb5d54685 at commit c911406e5ace on 2026-09-06T10:40:32.588483430+00:00.

## Similar repository reports

- [zenfyrdev/bootloader-unlock-wall-of-shame](https://octocounts.com/github/zenfyrdev/bootloader-unlock-wall-of-shame) — SVG, 414 code lines
- [ryanoasis/powerline-extra-symbols](https://octocounts.com/github/ryanoasis/powerline-extra-symbols) — SVG, 384 code lines
- [zeelsheladiya/Awesome-IDEs](https://octocounts.com/github/zeelsheladiya/Awesome-IDEs) — SVG, 498 code lines
- [paolorotolo/droidcam](https://octocounts.com/github/paolorotolo/droidcam) — SVG, 202 code lines
- [axxodeveloper/axxodeveloper](https://octocounts.com/github/axxodeveloper/axxodeveloper) — SVG, 156 code lines
- [ishandutta2007/Awesome-Cybersecurity](https://octocounts.com/github/ishandutta2007/Awesome-Cybersecurity) — SVG, 136 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
