| CARVIEW |
Select Language
HTTP/2 301
age: 2
cache-control: public,max-age=0,must-revalidate
cache-status: "Netlify Edge"; fwd=miss
content-type: text/plain; charset=utf-8
date: Mon, 29 Dec 2025 06:54:44 GMT
location: https://kalker.xyz/
server: Netlify
strict-transport-security: max-age=31536000
x-nf-request-id: 01KDME6HD99JAB7FK6PP0KFAY8
content-length: 34
HTTP/2 200
accept-ranges: bytes
age: 33731
cache-control: public,max-age=0,must-revalidate
cache-status: "Netlify Edge"; hit
content-encoding: gzip
content-type: text/html; charset=UTF-8
date: Mon, 29 Dec 2025 06:54:44 GMT
etag: "b766187abaec2a8acbb14818a1f4a1ce-ssl-df"
server: Netlify
strict-transport-security: max-age=31536000
vary: Accept-Encoding
x-nf-request-id: 01KDME6J1D22Q4RW1D3W91HH8H
content-length: 12772
kalker - A modern calculator that supports variables and functions defined by the user
>> f(x) =
x(3x
+ 1) ← Declare functions
>> a₁
= 1÷6 ← Declare variables
>> 6ia√(f'(a₁))← Differentiation
1.4142135624i ≈
√2i ← Complex
numbers
>> ∫(0,
π,
sin2ix, dx)
+ e^(πi) ÷ 3
← Integration
-0.3333333333 +
133.3733807458i ≈ -1/3 + 133.3733807458i
>> Σ(n=0,
720, 1÷n!)
← Calculating sums
2.7182818285 ≈
e
Open a kalker session in a new tab
A vector in kalker is an immutable list of values, defined with the syntax
A matrix is an immutable two-dimensional list of values, defined with the syntax
Kalker looks for kalker files in the system config directory.
kalker
A scientific calculator that supports math-like syntax with user-defined variables, functions, differentiation, integration, and complex numbers.
GitHub Repo
Download
Features
- Operators: +, -, *, /, !, %
- Groups: (), [], ⌈ceil⌉, ⌊floor⌋
- Vectors: (x, y, z, ...)
- Matrices: [x, y, z; a, b, c; ...]
- Pre-defined functions and constants
- User-defined functions and variables
- Root finding using Newton's method (eg. x^2 = 64). Note: estimation and limited to one root
- Derivation (prime notation) and integration (eg. integral(a, b, x dx)
The value of an integral is estimated using Simpson's 3/8 rule,
while derivatives are estimated using the symmetric difference quotinent (and derivatives of higher order can be a bit inaccurate as of now) - Complex numbers
- Understands fairly ambiguous syntax (eg. 2sinx + 2xy)
- Syntax highlighting
- Piecewise functions:
f(x) = { f(x + 1) if x <= 1; x otherwise }, pressing enter before typing the final "}" will make a new line without submitting. Semicolons are only needed when writing everything on the same line - Different number bases: Either with a format like
0b1101,0o5.3,0xff
or a format like1101_2. The latter does not support letters, as they would
be interpreted as variables.
Thebasecommand is used to set the display base. For example, writingbase 16results in output being displayed in the hexadecimal number base, as well as decimal. - Completion for special symbols on tab
- Sum/prod functions
- Load files that can contain predefined variable and function declarations.
You can also have automatically loaded files
Usage
All the calculator features and how they're used.
Operators
+,-,*,/!Factorial, eg.5!gives120%Percent, eg.5%gives0.05,10 + 50%gives15%,modModulus (remainder), eg.23 % 3gives2true,falseBoolean literalsand,or,not
Completion for special symbols
You can type special symbols (such as √) by typing the normal function or constant name and pressing tab.
*becomes×/becomes÷andbecomes∧notbecomes¬orbecomes∨[[becomes⟦⟧_123becomes₁₂₃asin, acos, etc.becomesin⁻¹(), cos⁻¹(), etcsqrtbecomes√degbecomes°pibecomesπsumbecomesΣ()prodbecomes∏()integratebecomes∫()taubecomesτphibecomesϕfloorbecomes⌊⌋ceilbecomes⌈⌉gammabecomesΓ(becomes()
Variables
Variables are defined with the following syntax: name = value
x = 3/4
Functions
Functions are defined with the following syntax: name(param1, param2, etc.) = value
f(x) = 2x+3
A(x, y) = (xy)/2
They are used like this: name(arg1, arg2, etc.)
f(3) + 3
A(2, 3)
Derivation can be done like this: name'(arg1)
f'(3) + 3
sin'(pi)
Predefined functions
sin,cos,tan,cot,cosec,secsinh,cosh,tanh,coth,cosech,sechasin,acos,atan,acot,acosec,asecashin,acosh,atanh,acoth,acosech,asechabs,ceilor⌈⌉,flooror⌊⌋,frac,round,truncsqrtor√,cbrt,exp,log,ln,arg,Re,ImgammaorΓasinh,acosh,atanh,acoth,acosech,asechbitcmp,bitand,bitor,bitxor,bitshiftcombornCr,permornPrgcd,lcmmin,max,hypotlog- eg.log(1000, 10)is the same as log10(1000)root- eg.root(16, 3)is the same as 3√16average,perms,sorttransposematrix- takes a vector of vectors and returns a matrixintegrate- eg.integrate(0, pi, sin(x) dx)is the same assum- eg.sum(n=1, 4, 2n)is the same as
Constants
pi or π = 3.14159265e = 2.71828182tau or τ = 6.2831853phi or ϕ = 1.61803398Vectors
A vector in kalker is an immutable list of values, defined with the syntax
(x, y, z) which may contain an arbitrary amount of items. Generally,
when an operation is performed on a vector, it is done on each individual item.
This means that (2, 4, 8) / 2 gives the result (1, 2, 4).
An exception to this is multiplication with two vectors, for which the result is
the dot product of the vectors. When a vector is given to a regular function,
the function is applied to all of the items in the vector.
Indexing
A specific item can be retrieved from a vector using an indexer, with the syntaxvector[[index]]. Indexes start at 1.
Vector comprehensionsexperimental
Vectors can be created dynamically using vector comprehension notation, which is similar to set-builder notation. The following example creates a vector containing the square of every number between one and nine except five:[n^2 : 0 < n < 10 and n != 5]. A comprehension consists of
two parts. The first part defines what should be done to each number,
while the second part defines the numbers which should be handled in
the first part. At the moment, it is mandatory to begin the
second part with a range of the format a < n < b where n
defines the variable which should be used in the comprehension.
Several of these variables can be created by separating the conditions
by a comma, for example [ab : 0 < a < 5, 0 < b < 5].
Matrices
A matrix is an immutable two-dimensional list of values, defined with the syntax
[x, y, z; a, b, c] where semicolons are used to separate rows and
commas are used to separate items. It is also possible to press the enter key
to create a new row, instead of writing a semicolon. Pressing enter will not
submit if there is no closing square bracket. Operations on matrices work the
same way as with vectors, except that two matrices multiplied result in matrix
multiplication. It is also possible to obtain the tranpose of a matrix with the
syntax A^T, where A is a matrix and T is
a literal T.
Indexing
A specific item can be retrieved from a matrix using an indexer, with the syntaxmatrix[[rowIndex, columnIndex]]. Indexes start at 1.
Files
Kalker looks for kalker files in the system config directory.
- Linux:
~/.config/kalker/ - macOS:
~/Library/Application Support/kalker/or~/Library/Preferences/kalker - Windows:
%appdata%/kalker/
default.kalker is found, it will
be loaded automatically every time kalker starts. Any other files in
this directory with the .kalker extension can be loaded
at any time by doing load filename in kalker. Note that
the extension should not be included here.